Data types in Java – Objective

This “Core Java Practice Test on Data types in Java” providing set of objective type questions on java Data types to test your theoretical skills and technical skills.


1. What are the special symbols allowed in the declaration of variable?

 
 
 
 

2. Why data type is required ?

 
 
 
 

3. Why character occupies 2 bytes in java?

 
 
 
 

4. What is ASCII character system?

 
 
 
 

5. What is UNICODE character system?

 
 
 
 

6. Why one byte memory is enough to store a character?

 
 
 
 
 

7. What is the default value of boolean data type?

 
 
 
 

8. What is the maximum limit of “short” data type?

 
 
 
 

9. What is type casting?

 
 
 
 
 

10. Is it possible to typecast float to integer data type?

 
 
 
 

Question 1 of 10

Share this