책 이미지

책 정보
· 분류 : 국내도서 > 컴퓨터/모바일 > 프로그래밍 언어 > 자바
· ISBN : 9788964490792
· 쪽수 : 318쪽
· 출판일 : 2010-09-16
목차
Chapter 1 ······ Introduction to Java
Introduction · 10
What is Java? · 14
How to get Java? · 18
First application of Java · 23
Java Environment · 28
Exercise · 30
Chapter 2 ······ Data Types and Variables
Data types and Variables · 32
Primitive Data Type, Declarations · 33
Variable Names · 38
Literals · 41
String · 44
Non-Primitive Data Type · 45
Dot Operator · 60
Exercise · 61
Chapter 3 ······ Operators and Expressions
Operators and Expressions · 64
Expression · 65
Assignment Operator · 66
Operate-Assign Operators (+=, etc.) · 67
Arithmetic Operator · 69
Relational Operator · 71
Logical Operator · 72
Increment and Decrement Operators · 73
The Conditional Operator · 75
Operator Precedence · 76
Implicit Type Conversions · 79
The Cast Operator · 80
Exercise · 81
Chapter 4 ······ Control Flow Statements
Control Flow Statements · 84
Statement · 85
Conditional (if) Statements · 86
Adding an else if · 89
Conditional (switch) Statements · 90
while and do-while Loops · 93
do-while loop · 95
for Loops · 97
A for Loop Diagram · 99
Enhanced for Loop · 100
The continue Statement · 102
The break Statement · 104
Exercise · 106
Chapter 5 ······ Methods
Methods · 108
Defining and Calling Methods · 110
Method Parameters · 113
So, Why All the static? · 117
Exercise · 119
Chapter 6 ······ Object-Oriented Programming
Introduction to Object-Oriented Programming · 122
Classes and Objects · 123
Fields and Methods · 124
Encapsulation · 125
Access Control · 127
Inheritance · 128
Polymorphism · 129
Exercise · 130
Chapter 7 ······ Objects and Classes
Defining a Class · 132
Creating an Object · 134
Constructors · 139
Access Modifiers · 143
Exercise · 144
Chapter 8 ······ Packages
Package · 148
The import Statements · 149
Casting · 150
CLASSPATH and Import · 151
Defining Packages · 153
Package Scope · 156
Exercise · 157
Chapter 9 ······ Interfaces and Abstract Classes
Package Scope · 160
Separating Interface and Implementation · 162
Implementing Interface · 163
Extending Interfaces · 166
Abstract Classes · 168
Exercise · 170
Chapter 10 ······ Inheritance in Java
Inheritance · 172
Inheritance in Java · 176
Polymorphism · 178
Method Overriding · 184
super · 188
The Object Class · 195
Exercise · 197
Chapter 11 ······ Exception Handling
Exceptions Overview · 200
Exception Handling · 201
Catching Exceptions · 204
The finally Block · 206
Exception Class · 208
Built-in Exceptions · 210
Defining and Throwing Exceptions · 212
Errors and Runtime Exceptions · 214
Assertions · 216
Exercise · 218
Chapter 12 ······ Introduction to Threads
Threaded Applications · 220
Creating Threads · 224
Thread States · 226
Runnable Threads · 231
Coordinating Threads · 234
Interrupting Threads · 241
Runnable Interface, ThreadGroups · 244
Thread groups · 248
Exercise · 259
Chapter 13 ······ Input/Output Streams
Streams · 262
Exercise · 275
Chapter 14 ······ Applet
Applet Overview · 278
Life Cycle of an Applet · 279
Simple Applet Application · 280
The Applet CLASS · 281
Invoking an Applet · 283
Applet Parameters · 285
Application Conversion to Applets · 288
Event Handling · 289
Exercise · 306
Appendix-I
Client Server Concepts (CSC) · 308
Appendix-II
Java two-tier Applications using JDBCTM (Java Database Connectivity) · 312
Appendix-III
Some selective questions · 316