Stats

Friday 4 August 2017

Java multithreading,serializable,

Why wait,notify,notifyall are part of object and not thread class?
How to create mutable class. A has B. A is immutable and B is mutable. So can we say A is immutable?
What is difference between synchronized method and synchronized block.Which one to use at what requirements?
S