How can we create an immutable class in java?


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

Post New Answer

More Core Java Interview Questions

If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface?

8 Answers   Infosys, Synechron,


What are different type of access modifiers?

3 Answers  


How java is platform independent?

41 Answers   College School Exams Tests, Infosys, TCS,


Can a class extend 2 classes in java?

0 Answers  


What is difference between static variable and global variable?

0 Answers  


List down the methods and interfaces of collection class in java.

0 Answers  


What is a void return type?

6 Answers  


Is array an object in java?

0 Answers  


What are the difference between string, string builder, and string buffer in java?

0 Answers  


Variable of the boolean type is automatically initialized as?

0 Answers  


How many types of string data types are there?

0 Answers  


What is operator overloading. Is it is supported in java?

0 Answers  


Categories