Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
1Activity

Table Of Contents

2.4.1 Binary Operators
2.4.5 Conditional Operators
2.5.2 Semicolons, Blocks and Whitespace
2.5.3 if-else Statement
2.5.4 switch-case Statement
2.5.5 while Statement
2.5.6 do-while Statement
2.5.7 for Statement
2.6.1 Multidimensional Array
2.7 Defining Methods
2.7.1 main Method
Object Orientation
3.1 Why the Hype?
3.2 Object Concepts
3.2.1 What is an Object?
What is Encapsulation? 3.2.4
3.2.2 What is a Class?
3.2.3 What is a Property?
3.2.4 What is Encapsulation?
What is Inheritance? 3.2.7
3.2.5 What is Abstraction?
3.2.6 What is Inheritance?
Objects and Class 3.3.1
3.2.7 What is Polymorphism?
3.3 Expressing Objects with Java
3.3.1 Objects and Class
3.3.2 Constructors and Destructors
Encapsulation 3.3.3
3.3.3 Encapsulation
3.3.5 Inheritance
Polymorphism 3.3.6
3.3.6 Polymorphism
Overriding 3.3.7
3.3.7 Overriding
Overloading 3.3.8
3.3.8 Overloading
3.3.9 super and this
3.4 final Keyword
3.5 static Keyword
Abstract Class and Interface
4.1 Abstract Class
4.1.1 Defining an Abstract Class
Interface 4.2
4.2 Interface
4.2.1 Defining an Interface
4.2.2 Implementing an Interface
4.3 Differences between Abstract Class and Inter-
Building GUIs with AWT
5.1 Component and Container
5.2 LayoutManager
5.2.1 FlowLayout
BorderLayout 5.2.3
5.2.2 GridLayout
5.2.3 BorderLayout
Using Panel in Complex GUIs 5.3.1
5.3 Container
5.3.1 Using Panel in Complex GUIs
5.3.2 Frame
5.4 AWT Components
5.4.1 Button
CheckboxGroup 5.4.4
5.4.2 Checkbox
5.4.3 CheckboxGroup
5.4.4 Choice
5.4.5 List
5.4.6 Label
TextArea 5.4.8
5.4.7 TextField
5.4.8 TextArea
5.5 The AWT Paint Cycle
5.5.1 paint(Graphics) Method
5.5.2 repaint() Method
5.5.3 update(Graphics) Method
5.6 Graphics
5.6.1 Using Font
Customizing Components 5.7
5.7 Customizing Components
5.8 Adding Menus to Frame
5.8.1 MenuBar
MenuItem and CheckboxMenuItem 5.9
5.8.2 Menu
5.8.3 MenuItem and CheckboxMenuItem
AWT Events 5.9
5.9 AWT Events
Inner Class
6.1 Member Class
Referencing Containing Class’ Members 6.1.1
6.1.1 Referencing Containing Class’ Members
Instantiating Member Classes 6.2
6.1.2 Instantiating Member Classes
Anonymous Class 6.2
6.2 Anonymous Class
Instance Initializers 6.2.1
6.2.1 Instance Initializers
Handling AWT Events
The Model 7.1.1
7.1 The MVC Architecture
7.1.1 The Model
7.1.2 The View
7.1.3 The Controller
7.2 Events
7.2.1 The AWT Event Model
7.2.2 Identifying Source, Listener and Event Objects
Event Listener Interface 7.2.3
7.2.3 Event Listener Interface
7.2.4 Event Source
7.2.5 Event Objects
7.2.6 A Button Example
Another Button Example 7.2.7
7.2.7 Another Button Example
Creating Customized Events 7.3.1
7.3 Creating Customized Events
AccountListener Interface 7.3.3
7.3.1 Account Class Again
7.3.2 The AccountEvent Object
7.3.3 AccountListener Interface
7.3.4 Event Listener Registration/Deregistration
Exceptions
8.1 Exceptions
8.1.1 An Exceptional Example
Exception Objects 8.1.2
8.1.2 Exception Objects
8.1.3 try-catch Block
8.1.4 And finally
Generating Exceptions 8.1.6
8.1.5 Declaring Exceptions
8.1.6 Generating Exceptions
8.2 Creating Your Own Exception
Streams
9.1 The File Class
InputStream 9.2.1
9.2 Character and Byte Streams
9.2.1 InputStream
OutputStream 9.2.2
9.2.2 OutputStream
9.2.3 A File Copy Example
9.3 Stream Chaining
9.3.1 Decorator Design
9.3.2 Performing I/O with Account
Object Serialization
10.1 Serialization
ObjectInputStream and ObjectOutputStream 10.1.2
10.1.1 The Serializable Interface
10.1.2 ObjectInputStream and ObjectOutputStream
Specifying What Gets Serialized 10.2.1
10.2 Customizing the Serialization Process
10.2.1 Specifying What Gets Serialized
10.2.2 readObject and writeObject Method
10.3 Validating a Deserialized Object
10.4 Versioning
Networking
11.1 Addresses and Ports
11.2 Client-Server Model
11.2.1 Defining the Protocol
11.2.2 Writing a Server
11.2.3 Writing the Server API
11.2.4 Using the AccountServerAPI
Threads and Synchronization
What is a Thread? 12.1
12.1 What is a Thread?
12.1.1 Creating a Thread
12.1.2 Thread Class
12.1.3 Priorities
12.1.4 States of a Thread
12.2 Enhancing AccountServer
Synchrnonization 12.3
12.3 Synchrnonization
12.3.1 synchronized Keyword
12.3.2 Thread Safe Objects
12.4 Condition Variables
12.5 Implication of static on Threads
Listing
A.1 Core Classes
A.1.1 Account.java
AccountException.java A.1.4
A.1.2 AccountListener.java
A.1.3 AccountEvent.java
A.1.4 AccountException.java
FixedDepositAccount.java A.2.1
A.1.5 Interest.java
A.2 Subclass and Implementations
A.2.1 FixedDepositAccount.java
TightRate.java A.2.4
A.2.2 SavingAccount.java
A.2.3 GenerousRate.java
A.2.4 TightRate.java
A.3.2 ConnectionHandler.java
Counter.java A.3.4
A.3.3 AccountProtocol.java
A.3.4 Counter.java
A.3.5 Counter.java
A.3.6 AccountServerAPI.java
0 of .
Results for:
No results containing your search query
P. 1
OOP_JAVA

OOP_JAVA

Ratings: (0)|Views: 44|Likes:
Published by Myra Lea Medrano

More info:

Published by: Myra Lea Medrano on Oct 05, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/05/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 19 are not shown in this preview.
You're Reading a Free Preview
Pages 23 to 26 are not shown in this preview.
You're Reading a Free Preview
Pages 30 to 38 are not shown in this preview.
You're Reading a Free Preview
Pages 42 to 177 are not shown in this preview.
You're Reading a Free Preview
Pages 181 to 184 are not shown in this preview.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->