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 11681using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.
4 6558can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}
4 8350string is immutable? right every one knows that, my question is it advantage or disadvantage making string immutable?
HCL,
5 11094
How many decimal digits is 64 bit?
Is empty set an element of empty set?
What is the multi-catch block in java?
Can we use string in switch case in java?
Can we inherit a class with private constructor?
Can finally block be used without a catch?
Explain the usage of this with constructors?
Why do we need autoboxing in java?
What is an accessor?
What are actual parameters?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is methodological theory?
How do you replace a string in java?
Explain jvm, jre, and jdk?
Is class is a data type?