Brief introduction of basic courses in Java university
This book is the basic version of how to program in Java (sixth edition), that is, the Java University Course (sixth edition). Aiming at Java 2 platform standard version 5.0, this paper introduces in detail how to use Java language for object-oriented programming. This book comprehensively introduces the basic knowledge of Java language, including input/output, basic types, operators, control statements and methods/arrays. Compared with Java How to Program, the sixth edition, the concepts of class, object and object-oriented programming, namely inheritance, polymorphism and interface, were introduced earlier. At the same time, according to the characteristics of J2SE 5.0, many new functions and features in Java language are described, such as printing format printf, Scanner class, Enum class, variable length parameter table and so on. The book also introduces the general modeling language UML 2.0 to help readers lay a good foundation for object-oriented design. Through a large number of detailed case studies, this book enables readers to master object-oriented programming skills as soon as possible. Finally, the appendix of this book also introduces how to use the debugger, Java API documentation and other useful tools.