What is method in java? Explain its general format.
Answers
Answered by
11
Answer:
A Java method is a collection of statements that are grouped together to perform an operation. When you call the System. out. ... Now you will learn how to create your own methods with or without return values, invoke a method with or without parameters, and apply method abstraction in the program design.
Similar questions