Which of the following is omitted in a constructor prototype?
Parameter list
Access specifier
Modifier
Return type
Which are the ways through which a function can be invoked?
Method call & object call
Call by value & call by objects
Pass by value & pass by reference
Pass by type & pass by value
Which of the following is not a feature of method overloading?
Implements polymorphism
Reduces number of comparisons
Makes program execution faster
Implements inheritance
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 keyword causes an immediate exit from a method and goes to the calling method?
goto
break
if
return
What are the functions that call itself known as?
Swap methods
Recursive functions
Getter functions
Setter functions