Object class is a super class of all class in Java. All inheritance hierarchies starts from Object class followed by other class. Consider example class Shape as parent class of Rectangle an… Read More
Why wait(), notify() and notifyAll() methods have been defined in the Object class?Java concurrency model uses locks to implement mutually exclusive access to objects in a multi-threaded env… Read More
Whitebox provides following methods to set the value to a field.public static void setInternalState(Object object, String fieldName, Object value)public static void setInternalState(Object o… Read More