Objects are entities in which things exist, such as human beings, computers, etc., while objects are divided into two parts, both dynamic and static
Class: Is the same thing collectively, if a thing in the world is abstracted into objects, the class is the general term of such objects, a class of things that have the same characteristics and behaviors are classes.
A class is a vector that encapsulates the properties and behavior of an object, and conversely, a class of entities that have the same properties and behavior are called classes.
Object-oriented features:
Encapsulation: Object-oriented core thinking, the properties and behavior of the object is encapsulated, and the object's properties and behavior is encapsulated in the carrier is the class,
Inheritance: Classes have the same relationship as classes, and there are many relationships between the two classes, and inheritance is one of the associations.
Polymorphism: A feature that is applied to a parent class object is polymorphic.
Java Basics (i) Object-oriented