SlideShare a Scribd company logo
OOP - JAVA
Introduction to OOP using Java
4/6/2022 1
Department of Computer
PRO – GRADE 5
Lecturer. OMEED M. M
Table of contents
 What is OOP?
 Classes and Objects
 Types of the access specifies
 List of OOP Concepts in Java
4/6/2022 2
What is OOP?
OOP stand for Object-Oriented Programming
Object-Oriented Programming is a methodology or paradigm to
design a program using classes and objects. It simplifies software
development and maintenance by providing some concepts.
Languages used in Object Oriented Programming:
Java, C++, C#, Python,
PHP, JavaScript, Ruby, Perl,
Objective-C, Dart, Swift, Scala
4/6/2022 3
Class and Object
What are Classes and Objects?
Classes and objects are the two main aspects of object-oriented
programming.
4/6/2022 4
Class and Object
Object
Objects have states and behaviors. Example: A dog has states - color,
name, breed as well as behaviors – wagging the tail, barking, eating.
An object is an instance of a class.
Everything is an object
4/6/2022 5
Class and Object
4/6/2022 6
Class and Object
Class
- Collection of objects is called class. It is a logical entity.
- A class can be defined as a template/blueprint that
describes the behavior/state that the object of its
type support.
4/6/2022 7
Class and Object
4/6/2022 8
Types of the access specifies
There 3 types of the access specifies
1. Public: accessible in all class in your application.
2. protected: accessible within the package in which it is defined
and in its subclass(es)(including subclasses declared outside the
package)
3. Private: accessible only within the class in which it is defined.
4/6/2022 9
List of OOP Concepts in Java
1. Abstraction
2. Encapsulation
3. Inheritance
4. Polymorphism
4/6/2022 10
Conclusion
The main idea behind Object Oriented Programming is simplicity,
code reusability, extendibility, and security. These are achieved
through Encapsulation, abstraction, inheritance, and polymorphism.
For a language to be classified as OOP, it must have these 4 OOP
blocks
4/6/2022 11
Any Questions ?
4/6/2022 12

More Related Content

PPTX
Applets in java
Wani Zahoor
 
PPT
Object Oriented Language
dheva B
 
PPTX
Multithreading in java
Monika Mishra
 
PPTX
Object oriented programming
Amit Soni (CTFL)
 
PPT
9. Input Output in java
Nilesh Dalvi
 
PDF
Java Basic Oops Concept
atozknowledge .com
 
PPTX
OOP with Java
OmegaHub
 
PPT
Oop Presentation
Ghaffar Khan
 
Applets in java
Wani Zahoor
 
Object Oriented Language
dheva B
 
Multithreading in java
Monika Mishra
 
Object oriented programming
Amit Soni (CTFL)
 
9. Input Output in java
Nilesh Dalvi
 
Java Basic Oops Concept
atozknowledge .com
 
OOP with Java
OmegaHub
 
Oop Presentation
Ghaffar Khan
 

What's hot (20)

PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
PPTX
Java constructors
QUONTRASOLUTIONS
 
PDF
jQuery for beginners
Arulmurugan Rajaraman
 
PDF
Basic Java Programming
Math-Circle
 
PPTX
Oop c++class(final).ppt
Alok Kumar
 
PPTX
Object Oriented Programing JAVA presentaion
Pritom Chaki
 
PPTX
Event Handling in java
Google
 
PPTX
Introduction to Object Oriented Programming
Moutaz Haddara
 
PPTX
Object Oriented Programming Concepts for beginners
Vibhawa Nirmal
 
PDF
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
PDF
Wrapper classes
Ravi_Kant_Sahu
 
PPT
Object Oriented Programming Concepts using Java
Glenn Guden
 
PPTX
Garbage collection
Somya Bagai
 
PDF
Introduction to Java Programming
Ravi Kant Sahu
 
PPT
Basic concepts of object oriented programming
Sachin Sharma
 
PPTX
Interface in java
PhD Research Scholar
 
PPT
Scanner class
M Vishnuvardhan Reddy
 
PPTX
Introduction to java
Saba Ameer
 
PPTX
WHAT IS ABSTRACTION IN JAVA
sivasundari6
 
PPTX
object oriented programing lecture 1
Geophery sanga
 
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
Java constructors
QUONTRASOLUTIONS
 
jQuery for beginners
Arulmurugan Rajaraman
 
Basic Java Programming
Math-Circle
 
Oop c++class(final).ppt
Alok Kumar
 
Object Oriented Programing JAVA presentaion
Pritom Chaki
 
Event Handling in java
Google
 
Introduction to Object Oriented Programming
Moutaz Haddara
 
Object Oriented Programming Concepts for beginners
Vibhawa Nirmal
 
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
Wrapper classes
Ravi_Kant_Sahu
 
Object Oriented Programming Concepts using Java
Glenn Guden
 
Garbage collection
Somya Bagai
 
Introduction to Java Programming
Ravi Kant Sahu
 
Basic concepts of object oriented programming
Sachin Sharma
 
Interface in java
PhD Research Scholar
 
Scanner class
M Vishnuvardhan Reddy
 
Introduction to java
Saba Ameer
 
WHAT IS ABSTRACTION IN JAVA
sivasundari6
 
object oriented programing lecture 1
Geophery sanga
 
Ad

Similar to Introduction to oop using java (20)

DOCX
Object Oriented Programming All Unit Notes
BalamuruganV28
 
PDF
Ah java-ppt2
Haja Abdul Khader A
 
PPTX
U1 JAVA.pptx
madan r
 
PDF
Cs8392 oops 5 units notes
Narayanan sockalinganathan
 
PPTX
object oriented programming through java basics
Rohit Kumar
 
PPT
Unit 1- Basic concept of object-oriented-programming.ppt
hannahroseline2
 
PDF
MCA NOTES.pdf
RAJASEKHARV10
 
PPTX
INTRODUCTION TO JAVA
RAMALINGHAM KRISHNAMOORTHY
 
PPT
Basic Java Concept - Practical Oriented Methodologies
SakthiVinayagam5
 
PPTX
JAVA PROGRAMMINGD
Niyitegekabilly
 
PPT
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
PPTX
Birasa 1
Niyitegekabilly
 
PPTX
JAVA PROGRAMMING
Niyitegekabilly
 
PPTX
Intro to object oriented programming.pptx
RafiaZafar19
 
PPT
Share Unit 1- Basic concept of object-oriented-programming.ppt
hannahrroselin95
 
PPTX
Lec 1.1 Object Oriented Programming
Badar Waseer
 
PDF
6_Object-oriented-using-java.pdf object oriented programming concepts
harinipradeep15
 
PPTX
Introduction to OOP with java
Sujit Kumar
 
PPTX
Oops concept in Java
Ducat India
 
PDF
Lecture_1___Introduction_to_OOP.pdf.pdf
AngelaClarito1
 
Object Oriented Programming All Unit Notes
BalamuruganV28
 
Ah java-ppt2
Haja Abdul Khader A
 
U1 JAVA.pptx
madan r
 
Cs8392 oops 5 units notes
Narayanan sockalinganathan
 
object oriented programming through java basics
Rohit Kumar
 
Unit 1- Basic concept of object-oriented-programming.ppt
hannahroseline2
 
MCA NOTES.pdf
RAJASEKHARV10
 
INTRODUCTION TO JAVA
RAMALINGHAM KRISHNAMOORTHY
 
Basic Java Concept - Practical Oriented Methodologies
SakthiVinayagam5
 
JAVA PROGRAMMINGD
Niyitegekabilly
 
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
Birasa 1
Niyitegekabilly
 
JAVA PROGRAMMING
Niyitegekabilly
 
Intro to object oriented programming.pptx
RafiaZafar19
 
Share Unit 1- Basic concept of object-oriented-programming.ppt
hannahrroselin95
 
Lec 1.1 Object Oriented Programming
Badar Waseer
 
6_Object-oriented-using-java.pdf object oriented programming concepts
harinipradeep15
 
Introduction to OOP with java
Sujit Kumar
 
Oops concept in Java
Ducat India
 
Lecture_1___Introduction_to_OOP.pdf.pdf
AngelaClarito1
 
Ad

More from omeed (15)

PPTX
understanding of java basics
omeed
 
PPTX
OOP using java (Variable in java)
omeed
 
PPTX
Asp.net LinkButton & imageButton controls
omeed
 
PPTX
Asp.net CheckBoxList control
omeed
 
PPTX
Asp.net CheckBox control
omeed
 
PPTX
Asp.net RadiobuttonList control
omeed
 
PPTX
Asp.net Radiobutton control
omeed
 
PPTX
Asp.net textbox control
omeed
 
PPTX
Understanding of Asp.net & page lifecycle
omeed
 
PPTX
Asp.net introduction to web development
omeed
 
PPTX
WEB DEVELOPMENT Using Python programming language
omeed
 
PDF
Apple’s AI-Powered Personal Assistant Uses DNN - siri
omeed
 
PPTX
Third and fourth generation programming language
omeed
 
DOCX
analog clock C#
omeed
 
PPTX
graphic Design
omeed
 
understanding of java basics
omeed
 
OOP using java (Variable in java)
omeed
 
Asp.net LinkButton & imageButton controls
omeed
 
Asp.net CheckBoxList control
omeed
 
Asp.net CheckBox control
omeed
 
Asp.net RadiobuttonList control
omeed
 
Asp.net Radiobutton control
omeed
 
Asp.net textbox control
omeed
 
Understanding of Asp.net & page lifecycle
omeed
 
Asp.net introduction to web development
omeed
 
WEB DEVELOPMENT Using Python programming language
omeed
 
Apple’s AI-Powered Personal Assistant Uses DNN - siri
omeed
 
Third and fourth generation programming language
omeed
 
analog clock C#
omeed
 
graphic Design
omeed
 

Recently uploaded (20)

PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PDF
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PDF
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 

Introduction to oop using java

  • 1. OOP - JAVA Introduction to OOP using Java 4/6/2022 1 Department of Computer PRO – GRADE 5 Lecturer. OMEED M. M
  • 2. Table of contents  What is OOP?  Classes and Objects  Types of the access specifies  List of OOP Concepts in Java 4/6/2022 2
  • 3. What is OOP? OOP stand for Object-Oriented Programming Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies software development and maintenance by providing some concepts. Languages used in Object Oriented Programming: Java, C++, C#, Python, PHP, JavaScript, Ruby, Perl, Objective-C, Dart, Swift, Scala 4/6/2022 3
  • 4. Class and Object What are Classes and Objects? Classes and objects are the two main aspects of object-oriented programming. 4/6/2022 4
  • 5. Class and Object Object Objects have states and behaviors. Example: A dog has states - color, name, breed as well as behaviors – wagging the tail, barking, eating. An object is an instance of a class. Everything is an object 4/6/2022 5
  • 7. Class and Object Class - Collection of objects is called class. It is a logical entity. - A class can be defined as a template/blueprint that describes the behavior/state that the object of its type support. 4/6/2022 7
  • 9. Types of the access specifies There 3 types of the access specifies 1. Public: accessible in all class in your application. 2. protected: accessible within the package in which it is defined and in its subclass(es)(including subclasses declared outside the package) 3. Private: accessible only within the class in which it is defined. 4/6/2022 9
  • 10. List of OOP Concepts in Java 1. Abstraction 2. Encapsulation 3. Inheritance 4. Polymorphism 4/6/2022 10
  • 11. Conclusion The main idea behind Object Oriented Programming is simplicity, code reusability, extendibility, and security. These are achieved through Encapsulation, abstraction, inheritance, and polymorphism. For a language to be classified as OOP, it must have these 4 OOP blocks 4/6/2022 11