Object Oriented Programming
- Basic Concept
Why OOPs?
1. Procedural Programming
- Program executes statement by statement.
1. Structured Programming
- Modular programming(Help of Function)
1. Object oriented Programming
- Concept implemented with Classes & Object
Class
● Class is a template definition of the methods and variables in a particular kind
of object.
● Class created using the Keyword class
● Class name start with capital letter and can use Camel cases for name.
Object
● Object is the instance of Class. It used for access class methods and
properties.
● The object is created with the help of new keyword.
● Multiple object can create single Class.
Access Specifiers
● Public
- Publicly accessible from anywhere.
- Created using keyword public we will create variables and methods. By
default all method and properties are public.
● Private
- Scope is only inside particular class.
- Created using keyword private we will create variables and methods.
● Protected
Inheritance
● Accessing the properties and methods of one from another class.
● The keyword extends is used for extending base class properties.
● Types Of Inheritance
○ Single Level Inheritance
- Parent class methods will be extended by the child class.
○ Multilevel Inheritance
- Parent class method will be inherited by child class and again
subclass will inherit the child class method.
Object Oriented Programming - Basic Concepts

More Related Content

DOCX
OBJECT ORIENTED ROGRAMMING With Question And Answer Full
PDF
PPT
Object Oriented Programming Concepts
PPT
Oops And C++ Fundamentals
PPT
General OOP Concepts
PPT
Oop Presentation
PDF
Object Oriented Concepts in Real Projects
PPTX
object oriented programing lecture 1
OBJECT ORIENTED ROGRAMMING With Question And Answer Full
Object Oriented Programming Concepts
Oops And C++ Fundamentals
General OOP Concepts
Oop Presentation
Object Oriented Concepts in Real Projects
object oriented programing lecture 1

What's hot (20)

PPT
PPTX
concept of oops
PPT
Advanced OOP - Laws, Principles, Idioms
PPSX
Java Object Oriented Programming
PPTX
the Concept of Object-Oriented Programming
PPT
Lecture 2
PPTX
Oops concept in c++ unit 3 -topic 4
PDF
Oop basic overview
PPT
Oops
PPTX
Object oriented programming
PDF
Object Oriented Programming using C++ Part II
PPT
Object-Oriented Concepts
PPTX
General oops concepts
PPTX
Concepts of oops
PPT
Object Oriented Language
PPTX
Object oriented programming
PPT
OOP programming
PPTX
1 unit (oops)
ODP
Beginners Guide to Object Orientation in PHP
concept of oops
Advanced OOP - Laws, Principles, Idioms
Java Object Oriented Programming
the Concept of Object-Oriented Programming
Lecture 2
Oops concept in c++ unit 3 -topic 4
Oop basic overview
Oops
Object oriented programming
Object Oriented Programming using C++ Part II
Object-Oriented Concepts
General oops concepts
Concepts of oops
Object Oriented Language
Object oriented programming
OOP programming
1 unit (oops)
Beginners Guide to Object Orientation in PHP
Ad

Similar to Object Oriented Programming - Basic Concepts (20)

PDF
1unit-120324103142-phpapp02.pdf
PPTX
introduction of Object oriented programming
PPTX
Introduction to Object Oriented Programming.pptx
PPTX
Unit 1 OOSE
PPTX
yo.pptxoajsdisa odasjd asodjaojdoawjdoasjdow
PPTX
POP vs OOP Introduction
PDF
Computer_Programming_Part_II_Segment_01.pdf
PPTX
Object Oriented Programming intro Lecture 1.pptx
PPT
Introduction.ppt JAVA SCRIPT PROGRAMMING AND
PDF
OOP concepts with respected with Python
PPTX
chapterOne.pptxFSdgfqdzwwfagxgghvkjljhcxCZZXvcbx
PPT
2 Object Oriented Programming
PPTX
Introduction to oop with c++
PDF
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
PPTX
Object Oriented Programming Concepts
PPTX
Intro to object oriented programming.pptx
PPTX
Different paradigms for problem solving.pptx
PPTX
Object Oriented Program Class 12 Computer Science
PPTX
OOP-1.pptx
PPTX
1unit-120324103142-phpapp02.pdf
introduction of Object oriented programming
Introduction to Object Oriented Programming.pptx
Unit 1 OOSE
yo.pptxoajsdisa odasjd asodjaojdoawjdoasjdow
POP vs OOP Introduction
Computer_Programming_Part_II_Segment_01.pdf
Object Oriented Programming intro Lecture 1.pptx
Introduction.ppt JAVA SCRIPT PROGRAMMING AND
OOP concepts with respected with Python
chapterOne.pptxFSdgfqdzwwfagxgghvkjljhcxCZZXvcbx
2 Object Oriented Programming
Introduction to oop with c++
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
Object Oriented Programming Concepts
Intro to object oriented programming.pptx
Different paradigms for problem solving.pptx
Object Oriented Program Class 12 Computer Science
OOP-1.pptx
Ad

More from Arunkumar Kupppuswamy (7)

PDF
Drupal Development Tools.pdf
PPTX
Build website using Open Source Technology
PPTX
Drupal 8 Performance & SEO optimizaion
PPTX
D8 search api
PPTX
Drupal 8 : Introduction to Big Pipe
PPTX
Drupal Coding Standards - do and don't
PDF
Drupal and security - Advice for Site Builders and Coders
Drupal Development Tools.pdf
Build website using Open Source Technology
Drupal 8 Performance & SEO optimizaion
D8 search api
Drupal 8 : Introduction to Big Pipe
Drupal Coding Standards - do and don't
Drupal and security - Advice for Site Builders and Coders

Recently uploaded (20)

PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
Climate Change and Its Global Impact.pptx
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
Journal of Dental Science - UDMY (2022).pdf
PDF
English Textual Question & Ans (12th Class).pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
IP : I ; Unit I : Preformulation Studies
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
My India Quiz Book_20210205121199924.pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PPTX
Computer Architecture Input Output Memory.pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Climate Change and Its Global Impact.pptx
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
Journal of Dental Science - UDMY (2022).pdf
English Textual Question & Ans (12th Class).pdf
Hazard Identification & Risk Assessment .pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
Journal of Dental Science - UDMY (2021).pdf
IP : I ; Unit I : Preformulation Studies
B.Sc. DS Unit 2 Software Engineering.pptx
Environmental Education MCQ BD2EE - Share Source.pdf
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
My India Quiz Book_20210205121199924.pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
Introduction to pro and eukaryotes and differences.pptx
Computer Architecture Input Output Memory.pptx

Object Oriented Programming - Basic Concepts

  • 2. Why OOPs? 1. Procedural Programming - Program executes statement by statement. 1. Structured Programming - Modular programming(Help of Function) 1. Object oriented Programming - Concept implemented with Classes & Object
  • 3. Class ● Class is a template definition of the methods and variables in a particular kind of object. ● Class created using the Keyword class ● Class name start with capital letter and can use Camel cases for name.
  • 4. Object ● Object is the instance of Class. It used for access class methods and properties. ● The object is created with the help of new keyword. ● Multiple object can create single Class.
  • 5. Access Specifiers ● Public - Publicly accessible from anywhere. - Created using keyword public we will create variables and methods. By default all method and properties are public. ● Private - Scope is only inside particular class. - Created using keyword private we will create variables and methods. ● Protected
  • 6. Inheritance ● Accessing the properties and methods of one from another class. ● The keyword extends is used for extending base class properties. ● Types Of Inheritance ○ Single Level Inheritance - Parent class methods will be extended by the child class. ○ Multilevel Inheritance - Parent class method will be inherited by child class and again subclass will inherit the child class method.