Predefined Method Some pre-defined methods are length(), equals(), compareTo(), sqrt() , etc. When we call any of the predefined methods in our program, a series of codes related to the corresponding method runs in the background that is already stored in the library.
Read moreWhat are all the predefined classes in Java?
Predefined Classes in Java
Read more