Java Gently / Edition 1

Java Gently / Edition 1

by Judy Bishop
     
 

ISBN-10: 0201593998

ISBN-13: 9780201593990

Pub. Date: 08/28/1997

Publisher: Addison-Wesley

The Java programming language is revolutionizing the world of computing and is set to become the language taught to programming students around the world. Java Gently is a programming text which aims to teach students how to program, and how to do it in the best possible style in Java. In the process, Java Gently covers all of the Java language, its standard

Overview

The Java programming language is revolutionizing the world of computing and is set to become the language taught to programming students around the world. Java Gently is a programming text which aims to teach students how to program, and how to do it in the best possible style in Java. In the process, Java Gently covers all of the Java language, its standard libraries and utilities and the prospects it offers for the future. In terms of programming, it covers object-orientation, software design, structured programming, graphical user interfacing, networking and finishes with an introduction to algorithms and data structures.

Judy Bishop's approach and style will excite students and keep them interested in programming, covering the Web aspects of Java while ensuring that the important principles of good programming are mastered.

Hallmark Features

  • explanation by example, with over 75 fully-worked examples and case studies
  • end of chapter summaries
  • ten-point quizzes at the end of each chapter, with answers
  • over 100 exercises
  • an active Web site containing all the examples and a discussion board
  • object-oriented class diagrams illustrating the examples
  • emphasis on sound algorithm design and thorough testing
  • a unique notation for presenting Java syntax to the novice programmer
  • requires no knowledge of programming or mathematics.

New for the Second Edition

  • complete update to Java 1.1
  • emphasis on the correct use of the event model and object-orientation
  • coverage of advanced Java features and APTs, including RMI and JDBC

Product Details

ISBN-13:
9780201593990
Publisher:
Addison-Wesley
Publication date:
08/28/1997
Edition description:
Older Edition
Pages:
400
Product dimensions:
6.79(w) x 9.22(h) x 0.86(d)

Table of Contents

List of examples xi(2)
Preface xiii(6)
Chapter summary xix(4)
Review board xxiii
PART I Fundamentals 1(174)
Chapter 1 Introduction
3(12)
1.1 Welcome to Java
3(5)
1.2 Software development
8(2)
1.3 The approach of this book
10(3)
Summary
13(1)
Quiz: to get you started
13(2)
Chapter 2 Simple programs
15(35)
2.1 Two starter programs
15(4)
2.2 Fundamentals of object-oriented programming
19(7)
2.3 Beginning with output
26(4)
2.4 All about assignment
30(9)
2.5 Using classes and objects
39(5)
Summary
44(1)
Quiz
45(1)
Problems
46(4)
Chapter 3 Structuring
50(37)
3.1 On the structure of a program
50(1)
3.2 Talking about types
51(6)
3.3 Repetition with for-loops
57(7)
3.4 Making methods
64(9)
3.5 Guidelines for designing classes
73(6)
3.6 Case study 1: Price tickets
79(3)
Summary
82(1)
Quiz
83(1)
Problems
84(3)
Chapter 4 Changing the state
87(26)
4.1 Inputting interactively
87(2)
4.2 Java Gently's Text class
89(3)
4.3 File input and output
92(3)
4.4 Selection with if-else
95(8)
4.5 Introduction to exceptions
103(7)
Summary
110(1)
Quiz
110(1)
Problems
111(2)
Chapter 5 Controlling the flow
113(24)
5.1 Conditional loops with while and do
113(4)
5.2 The switch-statement
117(5)
5.3 Conditional loops and input data
122(4)
5.4 Case study 2: Rock-scissors-paper game
126(6)
Summary
132(1)
Quiz
132(1)
Problems
133(4)
Chapter 6 Arrays and tables
137(38)
6.1 Simple arrays
137(10)
6.2 Multi-dimensional arrays
147(9)
6.3 Strings
156(6)
6.4 Sorting
162(3)
6.5 Hash tables
165(5)
Summary
170(1)
Quiz
170(1)
Problems
171(4)
PART II Power 175(192)
Chapter 7 Objects at work
177(30)
7.1 Designing an object-oriented program
177(10)
7.2 Properties of objects
187(4)
7.3 Lists of objects
191(5)
7.4 Case study 3: Nelson's Coffee Shop
196(8)
Summary
204(1)
Quiz
205(1)
Problems
205(2)
Chapter 8 Abstraction and inheritance
207(24)
8.1 Class power
207(2)
8.2 Abstraction through interfaces
209(6)
8.3 Inheritance
215(11)
8.4 Abstract methods and classes
226(1)
Summary
227(1)
Quiz
227(1)
Problems
228(3)
Chapter 9 Graphical user interfaces
231(28)
9.1 Introduction to the awt
231(2)
9.2 Putting graphics in a window
233(5)
9.3 Laying out buttons and labels
238(5)
9.4 Panels and canvases for grouping
243(4)
9.5 Interaction with text fields
247(3)
9.6 Event-driven programming
250(1)
9.7 Case study 4: Supermarket till
251(6)
Summary
257(1)
Quiz
257(1)
Problems
258(1)
Chapter 10 Applets in action
259(26)
10.1 From applications to applets
259(3)
10.2 Applets in browsers
262(8)
10.3 Sound and images
270(4)
10.4 Case study 5: The Nature Conservation Project
274(8)
Summary
282(1)
Quiz
282(1)
Problems
283(2)
Chapter 11 Networking
285(42)
11.1 Connecting via URLs
285(6)
11.2 Multi-threading
291(13)
11.3 Synchronizing between threads
304(9)
11.4 Ports and sockets
313(5)
11.5 Case study 6: Chatter system
318(5)
Summary
323(1)
Quiz
324(1)
Problems
324(3)
Chapter 12 Algorithms and data Structures
327(40)
12.1 About data structures
327(2)
12.2 Linear and binary searching
329(6)
12.3 Quicksort and performance
335(4)
12.4 Stacks and queues
339(9)
12.5 Linked lists again
348(9)
12.6 Bit sets
357(6)
Summary
363(1)
Quiz
363(1)
Problems
364(3)
Answers to Quizzes 367(16)
Index 383

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >