Programming - Classes and Objects

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

 
13.

To declare constants we use the keyword_________.                        


A. final B. this
C. super D. constant




14.

Is constructor name and class name will be same?                        


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




15.

Is constructor return any value?                        


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




16.

May constructor have parameters?                        


A. yes B. No
C. may be D. May have (or) may not




17.

A constructor is called ________________________when the object creation is going on                        


A. Parallerly B. Concurrently
C. Horizontally D. default




18.

___________constuctor,which accepts data from outside and initializes the instance variables with that data.                        


A. Parameterized B. Un parameterized
C. both D. none




« prev

1

2

3

4

5

6

7

next »

 
 



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