The object class is the parent class of all classes, and the array is also a subclass of the object class
Objects of any class can call methods in the object class, including array objects
Object () when the parameter is of type object, any type of argument can be passed into the execution
Object[] When a parameter is an array type, only the array object can be passed into the execution
Ii. common methods of object class
ToString Method: You can convert any object to a string return
Equals method: Used to compare the virtual addresses of two references, returns True if and only if two references are physically the same object, or returns flase
Hashcode method: Gets the hash code value of the object, which is 16 binary
The Equals method relates to the Hashcode method: If two objects return true using Equals, their hashcode values must be the same
If the equals of two objects returns false, their hashcode values are not necessarily different
overriding equals, which often requires overwriting hashcode, can be generated automatically using eclipse, guaranteeing that equals returns True, Hashcode is the same; equals returns false, Hashcode different
There are practical applications in the Set collection section
Parsing the Java-object class