Java: How to Program, Volume 1For CS1 and other courses on programming in Java offered in Computer Science, CIS, MIS, Business and Engineering departments. Also appropriate for upper-level courses where the instructor wants a reference to the Java language. Written by the authors of the worlds best-selling introductory C and C++ texts, this state-of-the-art guide examines one of todays hottest computer languages-Java; the first general-purpose, object-oriented language that is truly platform-independent. The latest Java 2 features are incorporated throughout this edition. *NEW - Optional case study focusing on object-oriented design and the UML - Illustrates the entire process of object-oriented and design from conception and design, to programming and implementation. The case study is introduced in Chapter 1 and built upon in the next eight chapters. Introduces students to the UML and key notational schemes that they will encounter in the real world. *NEW - Now in full color. Program listings now include syntax coloring of code. Helps students better interpret the code. *Stronger emphasis on applications rather than applets. *Thorough revision of the first 3 chapters. Emphasizes problem solving and programming |
Contents
Class ElevatorShaft 1409 | xxxiv |
Introduction to Computers the Internet and the | 1 |
1 | 2 |
Copyright | |
36 other sections not shown
Other editions - View all
Common terms and phrases
ActionEvent ActionListener actionPerformed anonymous inner class applet appletviewer application argument array boolean button Chapter character class definition class diagram clicks color Common Programming Error compiler constructor container.add contains create data type defined Demonstrating design patterns dialog display draw element Elevator end class event event handling example exception exception handling execute false Fibonacci Floor font graphical user interface Graphics GUI components handler implements import javax.swing inheritance initialized input instance variables integer interface Java 2 Platform Java core packages Java extension packages Java program java.awt java.lang Java2D JFrame JLabel JPanel JTextArea JTextField layout manager menu mouse multithreading object-oriented object-oriented programming operator output outputArea pseudocode public class public static void public void rectangle recursion reference sharedInt simulation specified statement static void main String args StringBuffer structure subclass superclass System.out.println thread toString window Write