What is an immutable class?



What is an immutable class?..

Answer / Durgesh Tulsyan

"IMC". An Immutable Class is a class whose objects cannot be changed once they are created. This means that once you create an object of the immutable class, you cannot change its state.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is clipping and repainting and what is the relation between them?

1 Answers  


What is a condition in programming?

1 Answers  


What is widening and narrowing in java? Discuss with an example.

1 Answers   Amdocs,


what is the Diff. between Access Specifiers and Access Modifiers?

39 Answers   BMC, Cyber Shot, Infosys, VTS, Wipro,


What is numeric promotion?

1 Answers  


Which sorting algorithm is in place?

1 Answers  


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

1 Answers  


Is string is a keyword in java?

1 Answers  


How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?

1 Answers   Saksoft,


What are methods?

1 Answers  


What invokes a thread's run() method in java programming?

1 Answers  


What is callable java?

1 Answers  


Categories