This book is designed to serve as a textbook and reference for programming in the Java language. For undergraduate students in Computer Science and Computer Programming courses. Praised for providing an engaging balance of thoughtful examples and explanatory discussion, best-selling author Walt Savitchs explain concepts and techniques in a straightforward style using understandable language and code enhanced by a suite of pedagogical tools. AThis book is appropriate for both introductory and intermediate programming courses introducing Java.
This book is designed to serve as a textbook and reference for programming in the Java language. For undergraduate students in Computer Science and Computer Programming courses. Praised for providing an engaging balance of thoughtful examples and explanatory discussion, best-selling author Walt Savitchs explain concepts and techniques in a straightforward style using understandable language and code enhanced by a suite of pedagogical tools. AThis book is appropriate for both introductory and intermediate programming courses introducing Java.
Brief Contents
Chapter 1 GETTING STARTED
Chapter 2 CONSOLE INPUT AND OUTPUT
Chapter 3 FLOW OF CONTROL
Chapter 4 DEFINING CLASSES I
Chapter 5 DEFINING CLASSES II
Chapter 6 ARRAYS
Chapter 7 INHERITANCE
Chapter 8 POLYMORPHISM AND ABSTRACT CLASSES
Chapter 9 EXCEPTION HANDLING
Chapter 10 FILE I/O
Chapter 11 RECURSION
Chapter 12 UML AND PATTERNS
Chapter 13 INTERFACES AND INNER CLASSES
Chapter 14 GENERICS AND THE ArrayList CLASS
Chapter 15 LINKED DATA STRUCTURES
Chapter 16 COLLECTIONS, MAPS AND ITERATORS
Chapter 17 SWING I
Chapter 18 SWING II
Chapter 19 JAVA NEVER ENDS
Chapter 20 APPLETS AND HTML
Appendix 1 KEYWORDS
Appendix 2 PRECEDENCE AND ASSOCIATIVITY RULES
Appendix 3 ASCII CHARACTER SET
Appendix 4 FORMAT SPECIFICATIONS FOR printf
Appendix 5 SUMMARY OF CLASSES AND INTERFACES
INDEX
Contents
Chapter 1 Getting Started
1.۱ INTRODUCTION TO JAVA
1.۲ EXPRESSIONS AND ASSIGNMENT STATEMENTS
1.۳ THE CLASS String
1.۴ PROGRAM STYLE
Chapter 2 Console Input and Output
2.۱ SCREEN OUTPUT
2.۲ CONSOLE INPUT USING THE Scanner CLASS
2.۳ INTRODUCTION TO FILE INPUT
Chapter 3 Flow of Control
3.۱ BRANCHING MECHANISM
3.۲ BOOLEAN EXPRESSIONS
3.۳ LOOPS
3.۴ DEBUGGING
3.۵ RANDOM NUMBER GENERATION
Chapter 4 Defining Classes I
4.۱ CLASS DEFINITIONS
4.۲ INFORMATION HIDING AND ENCAPSULATION
4.۳ OVERLOADING
4.۴ CONSTRUCTORS
Chapter 5 Defining Classes II
5.۱ STATIC METHODS AND STATIC VARIABLES
5.۲ REFERENCES AND CLASS PARAMETERS
5.۳ USING AND MISUSING REFERENCES
5.۴ PACKAGES AND javadoc
Chapter 6 Arrays
6.۱ INTRODUCTION TO ARRAYS
6.۲ ARRAYS AND REFERENCES
6.۳ PROGRAMMING WITH ARRAYS
6.۴ MULTIDIMENSIONAL ARRAYS
Chapter 7 Inheritance
7.۱ INHERITANCE BASICS
7.۲ ENCAPSULATION AND INHERITANCE
7.۳ PROGRAMMING WITH INHERITANCE
Chapter 8 Polymorphism and Abstract Classes
8.۱ POLYMORPHISM
8.۲ ABSTRACT CLASSES
Chapter 9 Exception Handling
9.۱ EXCEPTION HANDLING BASICS
9.۲ THROWING EXCEPTIONS IN METHODS
9.۳ MORE PROGRAMMING TECHNIQUES FOR EXCEPTION HANDLING
Chapter 10 File I/O
10.۱ INTRODUCTION TO FILE I/O
10.۲ TEXT FILES
10.۳ THE File CLASS
10.۴ BINARY FILES*
10.۵ RANDOM ACCESS TO BINARY FILES*
Chapter 11 Recursion
11.۱ RECURSIVE Void METHODS
11.۲ RECURSIVE METHODS THAT RETURN A VALUE
11.۳ THINKING RECURSIVELY
Chapter 12 UML and Patterns
12.۱ UML
12.۲ PATTERNS*
Chapter 13 Interfaces and Inner Classes
13.۱ INTERFACES
13.۲ SIMPLE USES OF INNER CLASSES
13.۳ MORE ABOUT INNER CLASSES
Chapter 14 Generics and the ArrayList Class
14.۱ THE ArrayList CLASS
14.۲ GENERICS
Chapter 15 Linked Data Structures
15.۱ JAVA LINKED LISTS
15.۲ COPY CONSTRUCTORS AND THE clone METHOD*
15.۳ ITERATORS
15.۴ VARIATIONS ON A LINKED LIST
15.۵ HASH TABLES WITH CHAINING
15.۶ SETS
15.۷ TREES
Chapter 16 Collections, Maps and Iterators
16.۱ COLLECTIONS
16.۲ MAPS
16.۳ ITERATORS
Chapter 17 Swing I
17.۱ EVENT-DRIVEN PROGRAMMING
17.۲ BUTTONS, EVENTS, AND OTHER SWING BASICS
17.۳ CONTAINERS AND LAYOUT MANAGERS
17.۴ MENUS AND BUTTONS
17.۵ TEXT FIELDS AND TEXT AREAS
Chapter 18 Swing II
18.۱ WINDOW LISTENERS
18.۲ ICONS AND SCROLL BARS
18.۳ THE Graphics CLASS
18.۴ COLORS
18.۵ FONTS AND THE drawString METHOD
Chapter 19 Java Never Ends
19.۱ MULTITHREADING
19.۲ NETWORKING WITH STREAM SOCKETS
19.۳ JAVABEANS
19.۴ JAVA AND DATABASE CONNECTIONS
19.۵ WEB PROGRAMMING WITH JAVA SERVER PAGES
Chapter 20 Applets and HTML
Appendix 1 Keywords
Appendix 2 Precedence and Associativity Rules
Appendix 3 ASCII Character Set
Appendix 4 Format Specifications for printf
Appendix 5 Summary of Classes and Interfaces
نظرات بسته شده است، اما بازتاب و پینگ باز است.