why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?
2 10527using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.
4 4786can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}
4 6609string is immutable? right every one knows that, my question is it advantage or disadvantage making string immutable?
HCL,
5 9328
Is constructor inherited?
What is the role of garbage collector in java?
What is the difference between exception and error in java?
Why singleton is not thread safe?
What is the difference between call by reference and call by pointer?
What are different exception types exceptions available in java ?
What is the difference between replace and replace all?
What environment variables do I need to set on my machine in order to be able to run java programs?
Is it possible to use string in the switch case?
Why volatile is used in java?
What is an association?
What is the method in java?
If two threads have same priority which thread will be executed first ?
How many bytes are a float?
What is split return?