CS8392
OBJECT ORIENTED
PROGRAMMING
T.Periyasamy AP/IT
OBJECTIVES:
• To understand Object Oriented Programming
concepts and basic characteristics of Java
• To know the principles of packages, inheritance
and interfaces
• To define exceptions and use I/O streams
• To develop a java application with threads and
generics classes
• To design and build simple Graphical User
Interfaces
OUTCOMES:
• Develop Java programs using OOP principles
• Develop Java programs with the concepts
inheritance and interfaces
• Build Java applications using exceptions and
I/O streams
• Develop Java applications with threads and
generics classes
• Develop interactive Java programs using
swings
UNIT I
INTRODUCTION TO OOP AND JAVA
FUNDAMENTALS
UNIT II
INHERITANCE AND INTERFACES
UNIT III
EXCEPTION HANDLING AND I/O
UNIT IV
MULTITHREADING AND GENERIC PROGRAMMING
UNIT V
EVENT DRIVEN PROGRAMMING
UNIT-I
INTRODUCTION
• Introduction: Java: History Features JVM - JRE JDK Java
Compilation and Execution , Data Types - Variables, Types,
Expressions, Assignment Statements,
Input/Output Statements: Scanner/System class, Type Casting
(Primitives to Primitives), Conditional and Iterative Control
Structures – Arrays
• OOPs with Java: Introduction to OOPs Concepts - Class Objects
Methods - Access Modifiers Creating Class and Objects, Object
Life-Cycle - Garbage Collection-Constructors - this static Array
of Objects Nested Classes.
• String: String Class Built-in Methods StringBuilder - StringBuffer
UNIT-I
INTRODUCTION
• Java is a class-based, object-oriented programming
language that is designed to have as few
implementation dependencies as possible.
• It is intended to let application developers Write
Once and Run Anywhere (WORA), meaning that
compiled Java code can run on all platforms that
support Java without the need for recompilation.
• Java was developed by James Gosling at Sun
Microsystems Inc. in May 1995
Key Features of Java
1. Platform Independent
2. Object-Oriented Programming
3. Simplicity
4. Robustness
5. Security
6. Distributed
7. Multithreading
8. Portability
9. High Performance