内容简介
本书是“Java How to Prgram,6/E”[Java大学教程(第六版)]的简明版本,它针对Java 2平台标准版5.0,向读者详细介绍了如何使用Java语言进行面向对象编程。本书主要包括以下内容:先,它全面介绍了Java语言的基础知识,包括输入/输出、基本类型、运算符、控制语句和方法/数组等;与“Java How to Program,6/E”相比,较早地引入了类、对象和面向对象编程的概念,即继承、多态和接口等;同时,针对J2SE5.0的特点,它描述了Java语言中许多新的功能与特性,例如格式化输出printf,Scanner类,Enum类和可变长参数列表等;除此之外,本书还引入了通用建模语言UML2.0,以便帮助读者打下良好的面向对象设计基础;本书通过多个详尽的案例分析,使读者能够尽快地掌握面向对象的编程技巧;在附录中,还介绍了如何使用调试器、Java API文档等多个有用的工具。
目录
1 Introduction to Computers,the Internet and the World Wide Web 2 Introduction to Java Applications 3 Introduction to Classes and Objects 4 Control Statements:Part 1 5 Control Statements:Part 2 6 Methods:A Deeper Look 7 Arrays 8 Classes and Objects;A Deeper Look 9 Object-Oriented Programming:Inheritance 10 Object-Oriented Programming:Polymorphism A Operator Precedence Chart B ASCII Character Set C Keywords and Reserved Words D Primitive Types E Number Systems F Unicode G Using the Java API documentation H Creating documentation with javadoc I Labeled break and continue Statements J Using the Debugger Index








