Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
Name a common library function in Java.
Think about functions that help with output and math.
What does System.out.println() do?
It’s often used to display messages.
What is a library function?
Remember, these functions are available without needing to write them yourself.
True or False: Library functions can only be used once in a program.
Think about the benefits of reusing code.
Create a function that utilizes a library function to convert temperature from Celsius to Fahrenheit using conversion formula. Output the result.
Find the formula for temperature conversion.
Design a small application that takes user input, converts it to an integer using Integer.parseInt(), and outputs the result.
Remember to import necessary libraries and handle possible errors.
4 more questions in this section. Enroll free to practise them all.
Enroll free