Home > Store

Java Programming Today

Register your product to gain access to bonus material or receive a coupon.

Java Programming Today

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

  • Reader-friendly—Written with the beginning programmer in mind.
    • Enables students to easily and quickly absorb the concepts presented in the text.

  • Light on math, heavy on Java—Requires no more than the basics: addition, subtraction, multiplication, and division.
    • Gives students with little or no advanced mathematics experience the opportunity to learn Java programming.

  • Complete program examples—Shows both inputs and outputs, with 15-20 separate complete program samples. (Program examples available on accompanying CD-ROM).
    • Allows students to read and see pertinent parts of the Java programs as well as run the code from the text on their own machine.

  • Java's graphical tools, GUI, and Windows controls—Utilizes these elements for writing fun and creative programs using colors, images, and various fonts.
    • Provides students with fun and exciting opportunities to create and run programs, encouraging them to spend more time exploring the various aspects of the language.

  • Excellent flow of material—Presents the core language material in Chapters 1-9, with advanced topic material in Chapters 10-13.
    • Gives instructors the flexibility to introduce critical topics to their class at their convenience.

  • Vital topics—Includes Java I/O, JAR files, and Packages and Classpaths.
    • Enables students to learn the critically important steps in packaging and JAR'ing their code, preparing them to fully understand the Java language and the development of XML programming.

  • Programming “from scratch”—Asks students to build all of the programs and compile and run them using Java™ 2 Software Development Kit from Sun Microsystems.
    • Teaches students how to set up their computer environment, enabling them to learn the importance of each line of Java code, as well as how the Java language and the computer interact.

  • Clear and lively presentation—Incorporates a wonderful style: a 4-color layout, line-numbered source code, icons, margin glossary terms, summary tables of information, and a complete index.
    • Gives students a text that is easy to use, with interesting and exciting visuals that aid in comprehension.

  • Front and back cover reference materials—Included on the inside front cover are commonly used web sites and a list of Java packages. The back cover includes a quick-look-up table of programming concepts and class usage, with a pull-out reference sheet that contains important Java items.
    • Enables students to use this text as a future reference guide.

  • Extensive pedagogy—Included in the end-of-chapter material are complete practice programs, short answer questions, code examples for examinatin and programming problems (“test-driven” by beginning Java students).
    • Provides students with many opportunities to practice and review the chapter concepts.

  • Accompanying CD-ROM—Provides all the software needed on one CD; it contains all of the example programs found in the text, the Sun Microsystems' Java™ 2 Software Development Kit Standard Edition, a Java editor, jEdit, an Open Source Java text editor. Appendices at the back of the text provide installation instructions and use for these packages.
    • Provides students and instructors with everything they'll need to get up and going with Java.

  • Comprehensive Instructor's Package—Includes an Instructor's Manual with PowerPoint slides of all the figures in the text, and solutions to chapter questions and programming problems; a Laboratory Manual containing complete programming problems suitable for student assignments; a Prentice Hall Test Manager; and an on-line study guide/companion web site.
    • Offers instructors a powerful ancillary package.

Description

  • Copyright 2004
  • Dimensions: 7-1/2" x 9-1/8"
  • Pages: 896
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-048623-X
  • ISBN-13: 978-0-13-048623-3

Java Programming Today is written with Johnston's "all of the things you need and none of the things you don't" approach to teaching a first programming language. Complete with Sun Microsystems' Java 2 Software Development Kit, readers will be writing and running their own Java programs by Chapter 2. Reviewers find her style both informative and enjoyable.

Topics relevant to today's Java programmer are included in the text. Other features include:

  • Object-oriented principles presented in easily understood examples
  • Graphical user interface construction including common controls and menus
  • Exception handling, Java I/O, JAR file and package creation, and CLASSPATH discussion
  • Program troubleshooting and debugging including use of Java's jdb debugger

The accompanying CD-ROM contains source code for all sample programs, Sun Microsystems' Java 2 Software Development Kit, and jEdit, a Java source code editor.

Instructors and users of this text will benefit from the following ancillaries:

  • Instructor's Manual: 0-13-048624-8
  • TestGen:0-13-048795-3
  • Companion Website: 0-13-048796-1
  • BlackBoard: 0-13-049833-5
  • Course Compass: 0-13049835-1

To view the website that accompanies this text, please go to:
http://www.prenhall.com/johnston

Sample Content

Table of Contents

(NOTE: Each chapter ends with Review Questions and Problems.).

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.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.