1st Edition
Java Programming Fundamentals Problem Solving Through Object Oriented Analysis and Design
Introduction
Object Model of Computation
Data Representation
Hardware Overview
A Brief History of programming Languages and Models of Computation
Creating and Executing a Java Program
Problem Statement Object Oriented Analysis and Design-Implementation- Testing Cycle
CLASS AND JAVA FUNDAMENTALS
A Java Application Program
A Java Greetings Program
Data Types
Operations on Numeric Data Types
Named Constants an Variables
Input Statement
OBJECT ORIENTED DESIGN
Class
Testing
Class Design
DECISION MAKING
Control Structures
Logical Expression and Operators
Selections Structures
Enumerated Types
Payroll for a Small Business
POWER OF REPETITION
Control Structures
Using Text File for Input
Using File for Output
Repetition Structure : while
Repetition Structure : for
Repetition Statement : do … while
Statements break and continue
Payroll for Small Business – Revisited
METHODS
Classification
Method Invocation
User-Defined Methods
Constructors
Common Methods
Static Members
Creating and Using Packages
Fraction Calculator
PRINCIPLES OF OBJECT-ORIENTATION
Objects
Subclass
Abstract Classes and Methods
The Object class
Composition
Interface
Payroll for Small Business
GRAPHICAL USER INTERFACE: APPLICATIONS AND APPLETS
The common Theme behind All GUI Application programs
Creating an Application Window
Creating a New Application Class
Program: Metric Conversion Helper
Programming Options for Event Listeners
Applets
Applet and GUI Application
Graphics
Color
Font
Drawing Services
SIMPLE DATA STRUCTURES
One-Dimensional Array
Two Dimensional Array
Multi-Dimensional Array
The Vector Class
Programming Example: Mr. Grace’s Grade Sheet
SEARCHING AND SORTING
List Processing
Searching
Sorting
The Vector Class
EXCEPTION HANDLING
Exception Class
Handling Exceptions with in a Program
Exception Handling Techniques
User-Defined Exception Classes
Biography
Premchand S. Nair
…carefully thought out and well crafted … teaches object-oriented design and programming in a completely integrated and incremental fashion. … a pedagogically excellent first course in object-oriented design and programming … Nair’s outstanding book is my first choice for learning object orientation and Java in considerable depth …
—George Hacken, in Computing Reviews, Reviews.com, July 2009… covers a good deal of Java, while also providing the rudiments of UML, some fundamental algorithms like sorting, and data structures like arrays. … The abundance of examples and exercises is very valuable … Summing Up: Recommended.
—L. Benedicenti, University of Regina, in CHOICE, Vol. 47, No. 04






