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)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay