What is an immutable class? How to create an immutable class?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How to convert string to int in java?

1 Answers  


If circular link of two objects, then will it be garbage collected ?

3 Answers   TCS,


Can we execute a program without main?

0 Answers  


In Java, what are this() and super(), and where are you required to use them?

2 Answers  


Explain, why the constructor is required in implemented class?

4 Answers  


What is cloneable interface?

8 Answers  


State one difference between a template class and class template.

0 Answers   HAL,


Is hashmap thread safe?

0 Answers  


How do generics work in java?

0 Answers  


What is the difference between yield() and sleep()?

0 Answers  


What are the 8 primitive data types in java?

0 Answers  


Is there any difference between synchronized methods and synchronized statements?

0 Answers  


Categories