What are the functions that call itself known as?
Swap methods
Recursive functions
Getter functions
Setter functions
What is the basic role of a method?
To enable reusability
To enable polymorphism
To execute java code
To separate block of code
Which of the following is the correct syntax to define a method?
[access modifier] return_type function-name(parameter-list){}
[access specifier] return_type function-name(parameter-list){}
[access specifier] [modifier] return_type function-name(parameter-list){}