Java Programming Today

Barbara Johnston

  • 出版商: Prentice Hall
  • 出版日期: 2003-10-10
  • 售價: $1,080
  • 貴賓價: 9.8$1,058
  • 語言: 英文
  • 頁數: 896
  • 裝訂: Paperback
  • ISBN: 013048623X
  • ISBN-13: 9780130486233
  • 相關分類: Java 程式語言
  • 下單後立即進貨 (約5~7天)

買這商品的人也買了...

相關主題

商品描述

Description

For courses in Java/Visual J++.

Examples throughout the text illustrate correctly written JAVA code, comparing it to incorrectly written code, and showing compiler errors. Key terms are highlighted in the margins and a JAVA compiler is in all books.

Table of Contents

1. Getting Started.

Welcome. What Is Java? The Big Picture, Java Source Code, Bytecode and JVM. Why Do Programmers Love Java? Software Construction Techniques.



2. Getting Started with Java Applications.

The Big Picture. Programming Fundamentals. General Format of a Java Program. Programs and Data. Keywords, Primitive Types, and Identifiers in Java. Operators in Java. An Introduction to Using Java Libraries. Summary. Practice!



3. Class Hierarchy in Java.

Parents and Children. java.lang.Object, the Root of all Java Classes. Java Applets. Java's java.awt.Graphics Class. Java Applications and the JFrame Class. Abstract Window Toolkit (AWT) and Swing.



4. Control Statements and Loops.

Decisions, Decisions. Relational and Logical Operators. If Statements. Switch Statements. Loops in General. For Loop. While Loop. Do While Loop. Comparing Numbers, Comparing Strings. Trouble Shooting. Summary. Practice!



5. Arrays in Java.

Run Faster! Jump Higher! Life Using Data Single Variables. Array Fundamentals. Array of Arrays. Practice!



6. Writing and Using Methods and Classes.

Time to Get Down to Business! What Do We Know About Classes? Object-Oriented Principles. Where Are We Going? Writing Class Methods. Scope. Object and Array Reference, Primitive Variables, and Memory. Practice!



7. More on Classes and Implementing Interfaces.

It's Fun to Have Fun! The This Reference. Static Items in Java. A Brief Introduction to Java Interfaces. Nested Classes. Practice!



8. Building the Front End.

Have a Drink or Prime the Pump? Event Handling Overview. Swing Components. Layout Managers. JPanels, Panes, and More Layout Managers. Mouse Activity. Java Menus. Threads. Summary. Practice.



9. Inheritance.

We're On the Home Stretch! Review Superclasses, Subclasses, and Interfaces. Writing Our Own Superclass in Java. Abstract Classes. Writing Java Interfaces. Summary. Practice.



10. Exception Handling.

Got Bugs? What Is an Exception? Why Write Exception Handling Code? Try and Catch Blocks. The Finally Block. Writing Our Own Exceptions. Throws Interface and Propagating Exceptions.



11. Java I/O.

Reading and Writing. Streams. Reading and Writing Data Using Byte Stream Classes. Buffered Character Stream File Input and Output. String Tokenizers. A Brief Introduction to Networking and Sockets.



12. JAR Files.

Wrap It Up! What Is a JAR File? How To Make a JAR? Summary.



13. Packages and Classpaths.

Packages and Imports. A Simple Program. What Is a Java Package? CLASSPATHS. Package Scope. Packages, JARs, and the CLASSPATH.



Appendix A: Getting Started with Java.


Appendix B: jEdit, a Java Source Code Editor.


Appendix C: Bits, Bytes, Hexadecimal Notation, and Unicode™.


Appendix D: Nested Classes.


Appendix E: Java Integrated Development Environments.


Bibliography.


Glossary.


Index.