Programming - Classes and Objects

You Are Here :: Home > JAVA > Classes and Objects - General Questions

 
7.

The class code along with method code is stored in method area of the__________________.                        


A. JIT B. JVM
C. Class D. Library




8.

When an object is created,the memory is allocated on__________________.                        


A. Stack B. Heap
C. JIT D. JVM




9.

___________________is a unique identification number allocated to the objects by the Jvm.                        


A. Hash code B. ANSI code
C. Both a and b D. Binary




10.

The ___________________method of object class in Java.lang package is useful to find the hash code.                        


A. hash code() B. destroy()
C. stop() D. init()




11.

An__________________is a keyword that specifies hoe to access the members of a class.                        


A. Acess specifiers B. this
C. new D. final




12.

Can you declare a class as "private"?                        


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




« prev

1

2

3

4

5

6

7

next »

 
 



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