DEV Community

Kandasami T
Kandasami T

Posted on

Java method

Java method is a set of statements that perform a certain action and can return results to the caller.

Types of methods.
Predefined method - These methods are known as standard library methods or build in methods, are already defined in the JAVA. These methods directly can be directly used by calling them in program.
User defined methods - These methods are created by the users to perform specific task, These methods can be customized according to the requirements of the program.

Top comments (0)