Programming - Operators

You Are Here :: Home > JAVA > Operators - General Questions

 
37.

Java provides a run-time operatorinstanceof to compare a___________ and an___________ of that class.                        


A. Object,instance B. method,instance
C. class,instance D. instance,instance




38.

__________ compares an object to a specified class type.                        


A. instanceof B. instance
C. both a and b D. all the above




39.

The________ operator is defined to know about an object's relationship with a class.                        


A. method B. instanceof
C. variable D. none




40.

The ________ operator is defined to know about an object's relationship with a class. It evaluates totrue, if the object or array is an instance of the specified type; otherwise it returns false.                        


A. instance B. object
C. instanceof D. all the above




41.

The________- operator can be used with the arrays and objects.                        


A. variable B. method
C. instance D. instanceof




42.

_______________ can't be used with primitive data types and values.                        


A. instanceof B. method
C. instanceof D. variable




« prev

1

2

3

4

5

6

7

8

next »

 
 



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