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

Table Of Contents

Introduction to Objects
1.1 What is Object Oriented Programming? . . . . . . . . . . . . . . 11
1.1 What is Object Oriented Programming?
1.1.1 Programming Paradigms
1.1.2 Object Orientation as a New Paradigm: The Big Picture
1.2 Fundamentals of Objects and Classes
1.2.1 Objects and Classes
1.2.2 Class Members and Instance Members
1.2.3 Access Control
1.2.4 Creating and Destroying Objects
1.2.5 Garbage Collection
1.2.6 Everything is NOT an object
The Practice of Programming
2.1 Abstraction
2.1.1 Control Abstraction
2.1.2 Data Abstraction
2.1.3 Abstraction in Object-Oriented Programs
2.2 Methods as an Abstraction Mechanism
2.2.1 Black Boxes
2.2.2 Preconditions and Postconditions
2.2.3 APIs and Packages
2.3 Introduction to Error Handling
2.4 Javadoc
2.5 Creating Jar Files
2.6 Creating Abstractions
2.6.1 Designing the classes
2.7 Example: A Simple Card Game
Tools for Working with Abstractions
3.1 Introduction to Software Engineering
3.1.1 Software Engineering Life-Cycles
3.1.2 Object-oriented Analysis and Design
3.1.3 Object Oriented design
3.2 Class-Responsibility-Collaboration cards
3.3 The Unified Modelling Language
3.3.1 Modelling
3.3.2 Use Case Diagrams
3.3.3 Class Diagrams
3.3.4 Sequence Diagrams
3.3.5 Collaboration Diagrams
3.3.6 State Diagram
Inheritance, Polymorphism, and Abstract Classes
4.1 Extending Existing Classes
4.2 Inheritance and Class Hierarchy
4.4 Polymorphism
4.5 Abstract Classes
4.6 this and super
4.6.1 The Special Variable this
4.6.2 The Special Variable super
4.6.3 Constructors in Subclasses
Interfaces, Nested Classes, and Other Details
5.1 Interfaces
5.2 Nested Classes
5.2.1 Anonymous Inner Classes
5.3 Mixing Static and Non-static
5.3.1 Static Import
5.4 Enums as Classes
Graphical User Interfaces in JAVA
6.1 Introduction: The Modern User Interface
6.2 The Basic GUI Application
6.2.1 JFrame and JPanel
6.2.2 Components and Layout
6.2.3 Events and Listeners
6.3 Applets and HTML
6.3.1 JApplet
6.3.2 Reusing Your JPanels
6.3.3 Applets on Web Pages
6.4.2 Colors
6.4.3 Fonts
6.4.4 Shapes
6.4.5 An Example
6.5 Mouse Events
6.5.1 Event Handling
6.5.2 MouseEvent and MouseListener
6.5.3 Anonymous Event Handlers
6.6 Basic Components
6.6.1 JButton
6.6.2 JLabel
6.6.3 JCheckBox
6.6.4 JTextField and JTextArea
6.7.1 Basic Layout Managers
6.7.2 A Simple Calculator
6.7.3 A Little Card Game
6.8 Images and Resources
6.8.1 Images
6.8.2 Image File I/O
A Solitaire Game - Klondike
7.1 Klondike Solitaire
7.2 Card Games
7.2.1 The CardNames Interface
7.2.2 The Deck class
7.3 Implementation of Klondike
7.3.1 The CardPile class (the base class)
7.3.2 The Solitaire class
7.3.3 Completing the Implementation
Generic Programming
8.1 Generic Programming in Java
8.2 ArrayLists
8.3 Parameterized Types
8.4 The Java Collection Framework
8.5 Iterators and for-each Loops
8.6 Equality and Comparison
8.7 Generics and Wrapper Classes
8.8 Lists
9.1.2 Java to the Rescue
9.1.3 Problems Remain in Java
9.2 Writing Correct Programs
9.2.1 Provably Correct Programs
9.2.2 Robust Handling of Input
9.3 Exceptions and try..catch
9.3.1 Exceptions and Exception Classes
9.3.2 The try Statement
9.3.3 Throwing Exceptions
9.3.4 Mandatory Exception Handling
9.3.5 Programming with Exceptions
9.4 Assertions
Input and Output
10.1 Streams, Readers, and Writers . . . . . . . . . . . . . . . . . . . . 207
10.1 Streams, Readers, and Writers
10.1.1 Character and Byte Streams
10.1.2 PrintWriter
10.1.3 Data Streams
10.1.4 Reading Text
0 of .
Results for:
No results containing your search query
P. 1
Java Theory

Java Theory

Ratings: (0)|Views: 22 |Likes:
Published by Rajesh Vijayakumar

More info:

Published by: Rajesh Vijayakumar on Nov 28, 2010
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

04/25/2014

pdf

text

original

You're Reading a Free Preview
Pages 5 to 80 are not shown in this preview.
You're Reading a Free Preview
Pages 85 to 118 are not shown in this preview.
You're Reading a Free Preview
Pages 123 to 141 are not shown in this preview.
You're Reading a Free Preview
Pages 146 to 184 are not shown in this preview.
You're Reading a Free Preview
Pages 189 to 221 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

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