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

Differentiate between stringbuffer and string?

0 Answers  


What is rmi and steps involved in developing an rmi object?

0 Answers  


Explain about OOPS concepts and fundamentals.

0 Answers   Syntel, Visa,


According to java operator precedence, which operator is considered to be with highest precedence?

0 Answers  


What is primitive array?

0 Answers  


How do you read and print a string in java?

0 Answers  


what is difference betweem home interface and remote interface?

0 Answers   CTS, HCL,


What are the override methods in Object class?

2 Answers   Tech Mahindra, Wipro,


I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?

4 Answers  


What are access modifiers in Java ?

6 Answers  


What is advantage of using threads?

2 Answers   BMC,


What is Classloader in Java?

0 Answers  


Categories