1. Understanding of the object.
It is objective, tangible, has its own properties and methods
The understanding of the class.
It is a collection of a large number of objects, the generality of a large number of objects abstracted out
Create the class. Member variables (with default values), member methods
creating objects, referencing objects
When an instance variable and a local variable conflict, the local variable takes precedence
2. Methods
Understanding the difference between common methods and construction methods, the overloading of construction methods
The characteristics of the construction method: the same as the class name, no return type;
Automatically called, no manual calls, and can only be called once
It is divided into construction code fast, no parameter construction, the parameter structure, the default empty construction method
3. Pass the This keyword to the value in the program
4. String connection StringBuffer sb= new StringBuffer ();
Sb.append ("Sun");
Sb.append ("Shuai");
System.out.println (SB);
String judgments
Common methods String split[] (); delimiter
Java Beginner Notes-Object oriented