What is the basic role of a method?
To enable reusability
To enable polymorphism
To execute java code
To separate block of code
What are the functions that call itself known as?
Swap methods
Recursive functions
Getter functions
Setter functions
What will be the return type of functions that do not return any value?
byte
null
no return type
void
Which of the following is omitted in a constructor prototype?
Parameter list
Access specifier
Modifier
Return type
What enables function overloading?
Prototype
Signature
Method call
Argument type