How will you serialize a singleton class without violating
singleton pattern?


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

Post New Answer

More Core Java Interview Questions

give an example for encapsulation?

0 Answers   Aspire,


What is method and methodology?

0 Answers  


Why inputstreamreader is used in java?

0 Answers  


Which is the best approach for creating thread ?

0 Answers  


class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.

2 Answers   Yamaha,






Differentiate between vector and array list.

0 Answers  


Can we pass a primitive type by reference in java? How

0 Answers  


How many bytes is 255 characters?

0 Answers  


How to disable caching on back button of the browser?

0 Answers  


Why is the main method declared static?

0 Answers  


What is t in generics in java?

0 Answers  


When try and catch block is used ?

6 Answers  


Categories