Types of Methods
Types of Methods
Function can be broadly classified into two categories:
Built-in function or library functions
These are inbuilt function, which are grouped together and stored in a standard java library. You can make use of these functions to get a predefined output, instead of writing your own code.
User defined Function :
These function are designed by the user to carry out some specific tasks. These name of the method is given by the user according to his/her requirement; hence, it is called a user defined function.