what are the two methods of java
...
Answers
Answered by
0
HEY MATE HERE IS YOUR ANSWER--
- WHAT ARE THE TWO METHODS OF JAVA?
Java Methods. A method is a block of code which only runs when it is called. You can pass data, known as parameters, into a method. Methods are used to perform certain actions, and they are also known as functions.
Answered by
0
In Java, there are two types of methods:
User-defined Methods: We can create our own method based on our requirements.
Standard Library Methods: These are built-in methods in Java that are available to use.
Similar questions