Monday, December 12, 2011

Java.lang.Object

Java.lang.Object Class:
  • For all classes java.lang.Object is a base class.
  • The important methods of java.lang.Object class is:
    • toString();
    • hashCode();
    • equals();
    • getClass();
    • Notify();
    • NotifyAll();
    • Wait();
Note: The methods marked in blue color can override, and the methods marked in red color cannot be override.

No comments:

Post a Comment