9 / 29-10 / 5 java learning summary (no classroom after school learning summary) & 4 summarizes the experimental

This week leave school, do not know what to speak in class, they were learning about some of it summed up his
first object-oriented programming is a programming architecture, object-oriented programming (Object Oriented Programming, OOP) is a programming framework, It is a use of objects, classes, inheritance, encapsulation, aggregation, correlation, and polymorphism message concepts to construct the system software development. Prior to this design method as well as for the machine, process-oriented design method final is now using object-oriented design methods, this month after learning I think object-oriented programming more emphasis on things from an objective to solve the problem, more emphasis on people's thinking expressed in the program

 

 

Objects (object): the system is used to describe an entity objective things, it is a basic unit constituting the system, the set of attributes and a set of attributes which is applied to a set of operating configuration.

Properties: Object used to describe a static characteristic (state) of a data item. (Java in call: member variables)

Operation: to describe the dynamic characteristics of the object (behavior) of a series of actions. (Java referred to in: Method)

Class (class): having the same set of attributes and a set of objects of the operation, it provides a uniform abstraction to describe all objects belonging to this class by a class name, a set of attributes and a set of operating configuration.

Package: junction is to be synthesized attributes and operations of a system independent of the units, and hide the internal details of the object as possible.

Inheritance: it refers to a particular class (subclass) automatically owns generic class (parent class) of all attributes and operations. Special classes can have their own definition of attributes and operations, inheritance is passed from generation to generation.  

Polymorphism: refers to the general class defined in the following attributes or special operations are inherited class may have different data types or exhibit different behavior.
Correct

Guess you like

Origin www.cnblogs.com/lpf666/p/11620756.html