Oops! Looks like we're having trouble connecting to our server.
Refresh your browser window to try again.
About this product
Product Identifiers
PublisherAddison-Wesley Longman, Incorporated
ISBN-101576761711
ISBN-139781576761717
eBay Product ID (ePID)47025185
Product Key Features
LanguageEnglish
Publication NameStarting Out with Java 5 : Control Structures to Objects
SubjectProgramming Languages / Java
Publication Year2005
TypeTextbook
Subject AreaComputers
AuthorTony Gaddis
SeriesGaddis Ser.
FormatTrade Paperback
Dimensions
Item Height1.5 in
Item Weight54.8 Oz
Item Length9.2 in
Item Width7.4 in
Additional Product Features
Intended AudienceCollege Audience
Table Of ContentCHAPTER 1 Introduction to Computers and Java 1.1 Introduction 1.2 Why Program? 1.3 Computer Systems: Hardware and Software 1.4 Programming Languages 1.5 What Is a Program Made Of? 1.6 The Programming Process 1.7 Object-Oriented Programming Review Questions and Exercises Programming Challenge CHAPTER 2 Java Fundamentals 2.1 The Parts of a Java Program 2.2 The print and println Methods, and the Java API 2.3 Variables and Literals 2.4 Primitive Data Types 2.5 Arithmetic Operators 2.6 Combined Assignment Operators 2.7 Conversion Between Primitive Data Types 2.8 Creating Named Constants with final 2.9 The String Class 2.10 Scope 2.11 Comments 2.12 Programming Style 2.13 Reading Keyboard Input 2.14 Dialog Boxes 2.15 Common Errors to Avoid Review Questions and Exercises Programming Challenges CHAPTER 3 Decision Structures 3.1 The if Statement 3.2 The if-else Statement 3.3 The if-else-if Statement 3.4 Nested if Statements 3.5 Logical Operators 3.6 Comparing String Objects 3.7 More about Variable Declaration and Scope 3.8 The Conditional Operator (Optional) 3.9 The switch Statement 3.10 Creating Objects with the DecimalFormat Class 3.11 The printf Method (Optional) 3.12 Common Errors to Avoid Review Questions and Exercises Programming Challenges CHAPTER 4 Loops and Files 4.1 The Increment and Decrement Operators 4.2 The while Loop 4.3 Using the while Loop for Input Validation 4.4 The do-while Loop 4.5 The for Loop 4.6 Running Totals and Sentinel Values 4.7 Nested Loops 4.8 The break and continue Statements (Optional) 4.9 Deciding Which Loop to Use 4.10 Introduction to File Input and Output 4.11 The Random Class 4.12 Common Errors to Avoid Review Questions and Exercises Programming Challenges CHAPTER 5 Methods 5.1 Introduction to Methods 5.2 Passing Arguments to a Method 5.3 More About Local Variables 5.4 Returning a Value from a Method 5.5 Problem Solving with Methods 5.6 Common Errors to Avoid Review Questions and Exercises Programming Challenges CHAPTER 6 A First Look at Classes 6.1 Classes and Objects 6.2 Instance Fields and Methods 6.3 Constructors 6.4 Overloading Methods and Constructors 6.5 Scope of Instance Fields 6.6 Packages and import Statements 6.7 Focus on Object-Oriented Design: Finding the Classes and Their Responsibilities 6.8 Common Errors to Avoid Review Questions and Exercises Programming Challenges CHAPTER 7 A First Look at GUI Applications 7.1 Introduction 7.2 Creating Windows 7.3 Equipping GUI Classes with a main Method 7.4 Layout Managers 7.5 Radio Buttons and Check Boxes 7.6 Borders 7.7 Focus on Problem Solving: Extending Classes from JPanel 7.8 Using Console Output to Debug a GUI Application 7.9 Common Errors to Avoid Review Questions and Exercises Programming Challenges CHAPTER 8 Arrays and the ArrayList Class 8.1 Introduction to Arrays 8.2 Processing Array Contents 8.3 Passing Arrays as Arguments to Methods 8.4 Some Useful Array Algorithms and Operations 8.5 Returning Arrays from Methods 8.6 String Arrays 8.7 Arrays of Objects 8.8 The Sequential Search Algorithm 8.9 Two-Dimensional Arrays 8.10 Arrays with Three or More Dimensions 8.11 The Selection Sort and the Binary Search Algorithms 8.12 Command-Line Arguments and Variable-Length Argument Lists 8.13 The ArrayList Class 8.14 Common Errors to Avoid Review Questions and Exercises Programming Challenges CHAPTER 9 A Second Look at Classes and Objects 9.1 Static C
SynopsisThis text is designed as a "late objects" introduction to programming using the Java programming language. It first introduces the student to the fundamentals of data types, input and output, control structures, methods, and objects created from standard library classes. After this the student learns to write her own classes, and develop simple GUI applications. Then the student learns to use arrays. The book also includes coverage of more advanced topics such as inheritance, polymorphism, the creation and management of packages, advanced GUI applications, and recursion. From early in the book, applications are documented with javadoc comments. As the student progresses through the text, new javadoc tags are covered and demonstrated., This text is designed as a "late objects" introduction to programming using the Java programming language. This text first introduces the reader to the fundamentals of data types, input and output, control structures, methods, and objects created from standard library classes. After this the reader learns to write her own classes, and develop simple GUI applications. Then the reader learns to use arrays. The book also includes coverage of more advanced topics such as inheritance, polymorphism, the creation and management of packages, advanced GUI applications, and recursion. From early in the book, applications are documented with javadoc comments. Although it is written for readers with no prior programming background, even experienced programmers will benefit from its depth of detail.