All methods of the object class
- Object Clone public Object Clone () throws Clonenotsupportedexception; the class where the cloned object resides must implement the Java.lang.Cloneable interface, and the subclass only needs to continue invoking the object's Clone method to implement
- Object Output Public String toString () Direct Output object is the default call
- Object Compare public Boolean equals (Object obj) when the set collection is saved, it relies on hashcode () and Equals () to determine whether the object is duplicates
- Gets the object's hash code public int hashcode () unique encoding (identity) for each object: the comparison will first determine if the encoding is the same, and then in the call Equalss method comparison
- Gets the class object public class<?> getclass () The object's reflection operation through an already instantiated object
- Thread waits for public void wait () throws interceptorexception; When executed to this code, the thread waits for execution until notify (), or the Notifyall () method wakes up
- Wake the first waiting thread public void notify ();
- Wake all waiting Threads public void notifyall ();
- Release public void Finalize () throws throwable before garbage collection; Default call when garbage garbage is recycled using GC
Java Reflection Readiness Knowledge