Object
rewrite toString, The default is to use Object Of toString() Return the address value , After rewriting, it returns the property value of the object .
rewrite equals, The default is to use Object Of equals() Compare the address values between objects , After rewriting, compare the property values between objects .
instanceof yes Java Keywords in , Used to determine obj instanceof Student, namely Judge obj Is it a student type .
String Class represents a string ,Java All string literals in the program ( Such as "abc") Are implemented as examples of this class .
Strings are constants , Their values cannot be changed after they are created , The string buffer supports variable strings .
The bottom layer of the string creates a char[] Array to store character data
The essence of a string is a char[]
To be added ...