1.

What is the synatx of method in java

Answer»

Answer:

A method in Java is a SET of instructions that can be called for execution using the method name. A Java method can take in DATA or parameters and return a value - both parameters and return values are optional. Methods can be PUBLIC, PRIVATE or protected.

Explanation:

hope it helps u

:)



Discussion

No Comment Found