An introduction to object-oriented programming with Java /
C. Thomas Wu.
- 3rd edition
- Boston ; Singapore ; New York : McGraw-Hill Higher Education, c2004.
- xxix, 961 p. : ill. (some col.) ; 24 cm.
Content. Chapter 1. Introduction to object-oriented programming and software. 1.1 Classes and objectives. 1.2 Messages and methods. 1.3 Class and instance data values etc.
Chapter 2 Getting started with Java 2.1 The first Java program 2.2 Program components 2.3 Edit-compile-run cycle. 2.4 Sample java standard classes. etc.
Chapter 3 Numerical data 3.1 Variables 3.2 Arithmetic expression 3.3 Constants. etc.
Chapter 4 Defining your own classes. 4.1 Defining instantiable classes. 4.2 Instantiable classes and constructors 4.3 Information hiding and visibility modifiers. etc.
Chapter 5 Selection statements. 5.1 The if statement 5.2 Boolean expressions and values 5.3 Nested-if statements etc.
Chapter 6 Repetition statement 6.1 The while statement 6.2 Pitfall in writing repetition statements 6.3 The do-while statement etc.
Chapter 7 Event-driven programming and basic GUI objects 7.1 Creating a subclass of JFrame 7.2 Placing button an the content pane of a frame. 7.3 Handling button events etc.
Chapter 8 Exceptions and assertions. 8.1 Catching exceptions 8.2 Throwing exceptions 8.3 Propagating exceptions etc.
Chapter 9 Characters and strings 9.1 Characters. 9.2 Strings. 9.3 Pattern matching and regular expression etc.
Chapter 10 Arrays. 10.1 Arrays basics 10.2 Arrays of objects 10.3 Passing arrays to methods. 10.4 Sample development: the address etc.
Chapter 11 Sorting and searching. 11.1 Searching 11.2 Sorting. 11.3 Heatsort. etc.
chapter 12. File input and output. 12.1 File and JFilechooser objects. 12.2 Low-level file1/0 12.3 High-level file 1/0 etc.
Chapter 13.Inheritance and polymorphism 13.1 Defining classes with inheritance. 13.2 sing effective with polymorphism 13.3 Inheritance and member accessibility. etc.
Chapter 14 Advanced GUI. 14.1 handling mouse events. 14.2 Layout managers and panels. 14.3 Effective use of nested panels 14. 4 Other GUI components. etc.
Chapter 15 Recursive algorithms 15.1 Basic elements of recursion. 15.2 Directory listing 15.3 Anagram 15.4Towers of hanoi.
Index : p. 937-961
9780072921953 0072518847 0071217703 (ISE)
2003046434
Object-oriented programming (Computer science) Java (Computer program language)