Programming - Methods in Java

You Are Here :: Home > JAVA > Methods in Java - General Questions

 
31.

___________________ methods are Static Methods                        


A. Abstract B. Instance
C. Factory D. Non Static




32.

A _____________ method is a method that creates and returns an object to the class to which it belongs?                        


A. Abstract B. Instance
C. Factory D. Non Static




33.

In how many ways can you create an object in Java?                        


A. 1 B. 2
C. 3 D. 4




34.

Writing two or more methods with the same name is called ____________________________.                        


A. Method Overloading B. Method Overriding
C. both D. none




35.

Writing two or more methods with the same name and same signature is called ____________________________.                        


A. Method Overloading B. Method Overriding
C. both D. none




36.

___________________ represents the method name along with method parameters.                        


A. Method B. Method Overriding
C. Method Signature D. Both A and B




« prev

1

2

3

4

5

6

7

8

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on