Programming - Classes and Objects

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

 
25.

Writing more constructors with the same name between with diffe                        


A. Constructor overloading B. Constructor overriding
C. method overloading D. metho overriding




26.

A___________contains instance variables and methods.                        


A. Class B. object
C. both D. functions




27.

A____________is called only once per object?                        


A. Constructor B. Destructor
C. Methods D. Variables




28.

A_____________can be called several times on the object.                        


A. Constructor B. Destructor
C. Methods D. Variables




29.

Is constructor executed automatically?                        


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




30.

Can you declare a class as "public"?                        


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




« prev

1

2

3

4

5

6

7

next »

 
 



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