I have learned a little experience in using Java (2)

zhaozj2021-02-17  49

Object-oriented concept

Java is an object-oriented development tool that must understand the concept of object-oriented programming when using Java development applications. After learning the Java syntax, the concept of OOP should be established.

Theoretical learning phase, first understand Class and Object, understand Class, Interface, Abstract Class, understand the inheritance of OOP, Public, Protected, Private, and Polymorphism. You should then be familiar with UML, you can read some simple information of UML, basically understand the class diagram, status map, and timing charts. Deductive stage, practice of OOP. The Successful example of OOP should be common 23 design patterns. This stage needs to be read and experience the design mode UML map and sample code. I recommend "Java and Mode" book, or I can access http://www.jdon.com/designpatterns/index.htm. Don't read the mode, just need to read the UML and code of each mode. Internation phase, through the study of the interpretation stage, the benefits of OOP - open open, close to modifications. At the same time, learn how to use the concept design of OOP in Java.

I have been using the Java programming, I have been using the process-oriented ideological programming, and I have not understood the existence of Class, Interface, Abstract Class, and Public, Protect, Private until I read the GOF design mode to understand the advantages of OOP. But the design mode of GOF is too embarrassing. I read it in the first time, just have an object-oriented concept, and I didn't understand the design model. Instead "Java and Mode" is easy to read, but "Java and Mode" has more nonsense, there are many contents that can not be read.

(Fail)

转载请注明原文地址:https://www.9cbs.com/read-30201.html

New Post(0)