📄️ What is method in Java
- A method in Java is a block of code that performs a specific task.
📄️ Java method return types
- The return type of a method defines what kind of value the method will return after it completes its execution.
📄️ Java method parameters
- Method parameters are variables that you pass into a method when you call it.