Introductory Java (2 SUB)

Introductory Java (2 SUB)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版
  • 言語 ENG
  • 商品コード 9780826461797
  • DDC分類 005

Full Description


This second edition of "Introductory Java" covers the key features for students who are studying Java as their first object-oriented language. The book covers the basic concepts and syntax, with substantial chapters on core features such as classes and objects, program architecture and interface development.

Table of Contents

Preface                                            ix
Notes on the second edition x
Code and compilers x
The web site xi
Part 1 Introduction to Java
1 Java comes to town 3 (7)
A brief history of Java 3 (1)
Characteristics of Java 4 (3)
Java versions 7 (1)
Java APIs 8 (1)
Learning Java 8 (2)
2 Learning the language of objects 10 (12)
Objects 10 (3)
Classifying clocks 13 (1)
Aggregation and composition 14 (1)
Message passing 15 (1)
Objects in software 16 (4)
Why is Java object-oriented? 20 (1)
Summary 20 (2)
3 Introductory Java applications 22 (21)
A first Java application 22 (5)
Java data types 27 (3)
Creating objects: the String class 30 (7)
Date objects 37 (2)
Summary 39 (1)
Exercises 40 (3)
Part 2 Building Java objects, writing Java
code
4 Creating objects in Java 43 (29)
Writing classes to represent objects 43 (4)
Adding a controller class 47 (6)
Methods that make selections 53 (6)
Arithmetic in Java 59 (3)
The Die class 62 (7)
Summary 69 (1)
Exercises 70 (2)
5 Iteration and input 72 (23)
Iteration 72 (6)
Handling keyboard input 78 (7)
Objects as JavaBean components 85 (5)
Summary 90 (1)
Exercises 91 (4)
Part 3 Object and class relationships
6 Objects working together: association, 95 (33)
aggregation and composition
Associating objects: snakes and ladders 95 (13)
Aggregation 108 (3)
Exception handling 111 (6)
Composition 117 (8)
Summary 125 (1)
Exercises 126(2)
7 Containers, inheritance, polymorphism and 128(51)
interfaces
Inheritance and polymorphism 128 (4)
Javadoc and code comments 132 (4)
Containers 136 (10)
Inheritance 146 (6)
Polymorphic methods in user-defined 152 (9)
classes
Interfaces 161 (1)
The Collections Framework 162 (10)
Summary 172 (2)
Exercises 174(5)
Part 4 Graphical User Interfaces
8 The Abstract Windowing Toolkit 179(50)
Creating a main window 180(4)
AWT component classes 184(5)
Layout managers 189 (20)
Writing programs with the AWT 209 (8)
Separating the 'model' from the 'view' 217 (6)
Manually positioning components in a 223 (3)
window
Summary 226 (1)
Exercises 227(2)
9 Of mice and menus 229(27)
Displaying text in a window 229 (2)
Fonts and files 231 (5)
Displaying images 236 (6)
A simple drawing program 242 (12)
Summary 254 (1)
Exercises 255(1)
10 Interfaces, persistent objects and Swing 256(33)
Writing interfaces 256 (5)
Object persistence 261 (6)
Swing 267 (11)
Separating model from view with Swing 278 (6)
components
Summary 284 (1)
Exercises 285(4)
Part 5 Java and the web
11 Threads 289(16)
Programming with threads 289 (2)
Multithreading 291 (6)
Implementing the Runnable interface 297 (5)
Summary 302 (1)
Exercises 303(2)
12 Applets 305(36)
Applets and web browser software 305 (3)
Writing a Java applet 308 (2)
Loading images in an applet 310 (5)
Applets and applications 315 (9)
An applet with components and images 324 (5)
Animating applets 329 (6)
The Java Plug-in 335 (3)
Summary 338 (2)
Exercises 340(1)
13 Where do you want to go tomorrow? 341(2)
Further Java features 341(1)
Tomorrow's Java 342(1)
Appendix: Answers to exercises 343 (15)
Glossary 358 (2)
Bibliography 360 (2)
Index 362