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.
What is a predefined method in Java?
Think of methods like printing or calculating square roots.
Give one example of a predefined method.
This method is used for displaying output.
What does a predefined method do?
Think about methods that exist without you creating them.
User-defined methods can:
Recall if you have to define these methods yourself.
Create a Java class that demonstrates both a predefined method and a user-defined method. Include a method that uses a predefined method.
Think of what output you want to display to see the result.
Discuss how the use of predefined methods can impact program performance and efficiency.
Consider the implications of using established functionality.
5 more questions in this section. Enroll free to practise them all.
Enroll free