String Handling in Java – Objective Test

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


1. What is Immutability ?

 
 
 
 

2. What is String pool area ?

 
 
 
 

3. Can we change the state of String object ?

 
 
 
 

4. Examples of Immutable objects ?

 
 
 
 

5. Can we store duplicate objects in the pool area ?

 
 
 
 

6. Is there any example of Mutable string object ?

 
 
 
 

7. What type of variables belongs to Immutable class ?

 
 
 
 

8. Can we define setter methods in user immutable class ?

 
 
 
 

9. Which package contains String class ?

 
 
 
 

10. Pre-defined synchronized string class?

 
 
 
 

Question 1 of 10

Share this