Programming - Methods in Java

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

 
25.

How many types of instance methods?                        


A. 1 B. 2
C. 3 D. more than 5




26.

_________________________ methods are the methods that simply access or read the instance variables.                        


A. Accessor B. Mutator
C. Both D. none




27.

Can Accessor methods do not modify the instance of variable?                        


A. Yes B. No
C. cant say D. may be




28.

_____________ methods not only access the instance variables but also modify them                        


A. Accessor B. Mutator
C. Both D. none




29.

How are objects are passes to methods in Java?                        


A. Pass by Value B. Pass by Reference
C. Both D. Call by Value




30.

A method calling itself is called as _______________________ method.                        


A. recursive B. static
C. non static D. instance




« prev

1

2

3

4

5

6

7

8

next »

 
 



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