What is immutable data?



What is immutable data?..

Answer / Vijay Kumar Chauhan

Immutable data in Java refers to data that cannot be changed after it has been created. Once immutable objects are created, their state remains the same throughout the life of the program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we sort hashmap in java?

1 Answers  


How to make a class immutable?

15 Answers   Bosch, TSYS,


What are the different types of inner classes?

1 Answers  


What does those terms actually mean included in the j.d.k i.6?

1 Answers  


Why is singleton not thread safe?

1 Answers  


What are the 8 primitive data types in java?

1 Answers  


What is a void in java?

1 Answers  


Suppose i have two threads t1 and t2 are running.How the main thread will know that the two threads t1,t2 execution has completed?

2 Answers   Subex,


What is a parent class in java?

1 Answers  


What is the SimpleTimeZone class?

1 Answers  


What about main() method in java ?

1 Answers  


What is passing by reference in java?

1 Answers  


Categories