CS8392 – Object Oriented Programming
Happy Learning My dear students
Training Dates
03.08.2020 – 07.08.2020
Faculty in Charge : D.Kayathri Devi, AP/IT
Contents
1. Introduction to OOP
2. Advantages
3. Applications
4. Characteristics
1. Introduction to OOP
Is a programming paradigm based on
objects which contains “data” and
“methods”
2. Advantages
1. Easy to understand how a program
works
2. Easy to maintain the program
3. Increases the flexibility of the
program
3. Applications
1. Database Management Systems
2. Artificial Neural Networks
4. Characteristics / Features of OOP
1. Abstraction – hiding the internal details
2. Encapsulation – binding data and methods together into a
single unit called “class”
3. Inheritance – ability of a class to derive the features of other
class
4. Polymorphism – Ability to exhibit “many forms”
What is a Class?
1. It is a blue print of an Object
2. It is just like a mold
3. It doesn’t have life.
Ex : Student is a class
What is a Class?
1. It is a ________ of an Object
2. It is just like a ____
3. It doesn’t have ________
Ex : Student is a class / object
What is an Object?
1. It is an instance of a class
2. It is the one which fills the class
3. It has life
Ex : Ram is a Student
Ram – object
Student - Class
Some Examples – Class - Java
Examples of states and behaviors
Example 1:
Object: House
State: Address, Color, Area
Behavior: Open door, close door
Some Examples – Class - Java
Object: Car
State: Color, Brand, Weight, Model
Behavior: Break, Accelerate, Slow Down,
Gear change.

Introduction to oop

  • 1.
    CS8392 – ObjectOriented Programming Happy Learning My dear students Training Dates 03.08.2020 – 07.08.2020 Faculty in Charge : D.Kayathri Devi, AP/IT
  • 2.
    Contents 1. Introduction toOOP 2. Advantages 3. Applications 4. Characteristics
  • 3.
    1. Introduction toOOP Is a programming paradigm based on objects which contains “data” and “methods”
  • 4.
    2. Advantages 1. Easyto understand how a program works 2. Easy to maintain the program 3. Increases the flexibility of the program
  • 5.
    3. Applications 1. DatabaseManagement Systems 2. Artificial Neural Networks
  • 6.
    4. Characteristics /Features of OOP 1. Abstraction – hiding the internal details 2. Encapsulation – binding data and methods together into a single unit called “class” 3. Inheritance – ability of a class to derive the features of other class 4. Polymorphism – Ability to exhibit “many forms”
  • 7.
    What is aClass? 1. It is a blue print of an Object 2. It is just like a mold 3. It doesn’t have life. Ex : Student is a class
  • 8.
    What is aClass? 1. It is a ________ of an Object 2. It is just like a ____ 3. It doesn’t have ________ Ex : Student is a class / object
  • 9.
    What is anObject? 1. It is an instance of a class 2. It is the one which fills the class 3. It has life Ex : Ram is a Student Ram – object Student - Class
  • 10.
    Some Examples –Class - Java Examples of states and behaviors Example 1: Object: House State: Address, Color, Area Behavior: Open door, close door
  • 11.
    Some Examples –Class - Java Object: Car State: Color, Brand, Weight, Model Behavior: Break, Accelerate, Slow Down, Gear change.