Programming - Methods in Java

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

 
13.

A method always returns the result to the __________________________ .                        


A. Calling method B. call by value
C. call by reference D. Both B and C




14.

__________________ methods are the methods which do not allow upon the instance variables of a class.                        


A. Instance B. abstract
C. Static methods D. Non Static




15.

__________________ methods cannot act on instance variables.                        


A. Instance B. abstract
C. Static methods D. Non Static




16.

Which key word is used for Static methods?                        


A. Instance B. abstract
C. Static D. Non Static




17.

The other name for static variables is ________________________ variable.                        


A. Instance B. abstract
C. Class D. Object




18.

Instance Variables are created in the objects on ____________________ memory.                        


A. Heap B. Stack
C. Non Stack D. Temporary




« prev

1

2

3

4

5

6

7

8

next »

 
 



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