Programming - Type Casting

You Are Here :: Home > JAVA > Type Casting - General Questions

 
1.

Java supports ______________ types of castings – primitive data type casting and reference type casting.                        


A. 1 B. 2
C. 3 D. 4




2.

____________________ casting is nothing but assigning one Java object to another object.                        


A. Reference type B. Non-Reference type
C. Both D. None




3.

Java data type casting comes with __________ flavors.                        


A. 1 B. 2
C. 3 D. 4




4.

__________________ A data type of lower size (occupying less memory) is assigned to a data type of higher size.                        


A. Implicit casting (widening conversion) B. UnImplicit
C. Both D. None




5.

Implicit Casting is also known as ______________________ type conversion.                        


A. Automatic B. Explicit
C. Both D. None




6.

_______________A data type of higher size (occupying more memory) cannot be assigned to a data type of lower size.                        


A. Implicit casting (widening conversion) B. UnImplicit
C. Both D. None




1

2

3

4

next »

 
 



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