Java Introduction to Object Oriented Programming

Introduction to Object-Oriented Programming

JAVA is an object-oriented programming language. Object-oriented programming paradigm and the process-oriented programming paradigm belong imperative programming paradigm, distinguished functional programming paradigm. In object-oriented programming paradigm, the business logic of the system performance will be as we are dealing with interrelated between objects. Object entity is a set of data itself and the packaging operation. Package can be simply understood as a package, which allows an external service can use a single object or to ignore the module without the specific details. In this sense, we found that the object-oriented computer science is itself a reflection of abstract thinking. In object-oriented programming paradigm facing the world, everything is an object.

Object-oriented programming and the process-oriented programming
in general, to support object-oriented programming languages are support for process-oriented programming paradigm, the characteristics of functional programming languages are also being blend into existing object-oriented programming language. According to my understanding, it is the use of symbolic programming language to model real-world things. Process-oriented programming paradigm is more flexible when things are modeled, but also easily lead to code redundancy and system complexity is too high. Then the object-oriented programming language paradigm in the original process-oriented programming paradigm commonly used in construction pulled out, using more simple mechanism to represent. Object-oriented programming is now the mainstream programming paradigm applications, as it helps to build more structure clearer, more understandable, more scalable software system.

Object-oriented programming and functional programming
object-oriented programming paradigm and the functional programming paradigm has a larger difference. In object-oriented programming paradigm, we thrive on the business logic abstracted into an object to provide a particular service, and often use variables to represent the relationship of complex changes in the impact action object itself and more often produced not from the method itself returns value, but the side effects themselves. Functional programming paradigm this is quite different. In functional programming paradigm, with use of constants and variables constant is a convention of habit. Compared to imperative programming paradigm, functional programming paradigm using programs written in a more concise, and have a higher level of intuitive and very few side effects. Further, a large difference is interested in programming function recursive, object-oriented programming and more accustomed to using more efficient iterative mechanism appears.

Object-oriented programming and Oriented Programming, oriented programming interface
for programming and programming to an interface section is an extension of an object-oriented programming. Object-oriented programming will things be expressed as the relationship between objects, but the reality of things is not a separate entity to be linked, the entity
is only a holistic perception in a particular perspective, and not enough to fully object-oriented programming represent real-world complex logic. Oriented Programming supplement is effective for such a case, it allows us to define a single common among the plurality of different logical entities, which are independent of logic are often different entities own business logic. Oriented programming interface is object-oriented programming for a deeper level of abstraction in application software development. JAVA interface itself is not the syntax of the interface itself. Oriented programming interface refers to the functional modules of different services to be abstract, retaining only the external interface, reducing coupling between different systems, while ensuring the readability of the system itself, understandability, improve maintainability and availability.

Guess you like

Origin www.cnblogs.com/hengxianwuyou/p/11565096.html