SlideShare a Scribd company logo
1 of 8
Download to read offline
OOP
OBJECT-ORIENTED PROGRAMMING
▸ Using the simple syntax provided by the Java
programming language. BY AMR ELGHADBAN
Object-Oriented Programming Concepts
BASIC CONCEPTS
▸ This lesson will introduce you to
▸ 1- objects.
▸ 2- classes.
▸ 3- inheritance.
▸ 4- interfaces.
▸ 5- packages.(JAVA)
▸ Each discussion focuses on how these concepts relate to the real world,
while simultaneously providing an introduction to the syntax of the Java
programming language.
Object-Oriented Programming Concepts
WHAT IS AN OBJECT?
▸ Software objects are often used to model the real-world
objects that you find in everyday life.
▸ An object is a software bundle of related state and
behaviour.
▸ This lesson explains how state and behaviour are
represented within an object.
▸ introduces the concept of data encapsulation.
Object-Oriented Programming Concepts
WHAT IS A CLASS?
▸ A class is a blueprint or prototype from which objects are
created.
▸ This section defines a class that models the state and
behaviour of a real-world object.
Object-Oriented Programming Concepts
WHAT IS INHERITANCE?
▸ Inheritance provides a powerful and natural mechanism
for organizing and structuring your software.
▸ This section explains how classes inherit state and
behaviour from their superclasses.
▸ Explains how to derive one class from another.
Object-Oriented Programming Concepts
WHAT IS AN INTERFACE?
▸ An interface is a contract between a class and the outside
world.
▸ When a class implements an interface, it promises to
provide the behaviour published by that interface.
▸ Interface defines a simple behaviour without
implementation explains the necessary changes for any
class that implements it.
Object-Oriented Programming Concepts
WHAT IS A PACKAGE?…(JAVA)
▸ A package is a namespace for organising classes and
interfaces in a logical manner.
▸ Placing your code into packages makes large software
projects easier to manage.
▸ This section explains why this is useful, and introduces you
to the Application Programming Interface (API) provided
by the Java platform.
THANKS
WISH YOU A WONDERFUL DAY
▸ Skype : amr_elghadban
▸ Email :amr.elghadban@gmail.com
▸ Phone : (+20)1098558500
▸ Fb/amr.elghadban
▸ Linkedin/amr_elghadban

More Related Content

What's hot

the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
Aida Ramlan II
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
dheva B
 
Chapter 6 OOPS Concept
Chapter 6 OOPS ConceptChapter 6 OOPS Concept
Chapter 6 OOPS Concept
Amrit Kaur
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
farhan amjad
 

What's hot (20)

OOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPOOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOP
 
the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
 
Oops
OopsOops
Oops
 
Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1
 
Oop concept
Oop conceptOop concept
Oop concept
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
 
principle of oop’s in cpp
principle of oop’s in cppprinciple of oop’s in cpp
principle of oop’s in cpp
 
SEMINAR
SEMINARSEMINAR
SEMINAR
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
 
Oops
OopsOops
Oops
 
Chapter 6 OOPS Concept
Chapter 6 OOPS ConceptChapter 6 OOPS Concept
Chapter 6 OOPS Concept
 
Object Oriented Programming Principles
Object Oriented Programming PrinciplesObject Oriented Programming Principles
Object Oriented Programming Principles
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
object oriented programing lecture 1
object oriented programing lecture 1object oriented programing lecture 1
object oriented programing lecture 1
 
Introduction to oops concepts
Introduction to oops conceptsIntroduction to oops concepts
Introduction to oops concepts
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programming
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS Concept
 
Oops slide
Oops slide Oops slide
Oops slide
 
SE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPTSE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPT
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
 

Viewers also liked

Viewers also liked (9)

10- java language basics part4
10- java language basics part410- java language basics part4
10- java language basics part4
 
7-Java Language Basics Part1
7-Java Language Basics Part17-Java Language Basics Part1
7-Java Language Basics Part1
 
3-oop java-inheritance
3-oop java-inheritance3-oop java-inheritance
3-oop java-inheritance
 
Objective-C Crash Course for Web Developers
Objective-C Crash Course for Web DevelopersObjective-C Crash Course for Web Developers
Objective-C Crash Course for Web Developers
 
Objective c slide I
Objective c slide IObjective c slide I
Objective c slide I
 
Iphone programming: Objective c
Iphone programming: Objective cIphone programming: Objective c
Iphone programming: Objective c
 
Introduction to Objective - C
Introduction to Objective - CIntroduction to Objective - C
Introduction to Objective - C
 
9-java language basics part3
9-java language basics part39-java language basics part3
9-java language basics part3
 
8- java language basics part2
8- java language basics part28- java language basics part2
8- java language basics part2
 

Similar to 0-oop java-intro

Object-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdfObject-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdf
Bharath Choudhary
 
Five pattern(facade mediator_singleton_monostate_null)
Five pattern(facade mediator_singleton_monostate_null)Five pattern(facade mediator_singleton_monostate_null)
Five pattern(facade mediator_singleton_monostate_null)
이효서
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) Languages
Jessica Deakin
 

Similar to 0-oop java-intro (20)

Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
ITFT - Oops
ITFT - OopsITFT - Oops
ITFT - Oops
 
Class notes(week 2) on basic concepts of oop-2
Class notes(week 2) on basic concepts of oop-2Class notes(week 2) on basic concepts of oop-2
Class notes(week 2) on basic concepts of oop-2
 
Class notes(week 2) on basic concepts of oop-2
Class notes(week 2) on basic concepts of oop-2Class notes(week 2) on basic concepts of oop-2
Class notes(week 2) on basic concepts of oop-2
 
Java for android developers
Java for android developersJava for android developers
Java for android developers
 
Packages and Interfaces
Packages and InterfacesPackages and Interfaces
Packages and Interfaces
 
Reoprt on indutrial training
Reoprt on indutrial trainingReoprt on indutrial training
Reoprt on indutrial training
 
OOPS In JAVA.pptx
OOPS In JAVA.pptxOOPS In JAVA.pptx
OOPS In JAVA.pptx
 
1669609053088_oops_final.pptx
1669609053088_oops_final.pptx1669609053088_oops_final.pptx
1669609053088_oops_final.pptx
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Oops concept in Java
Oops concept in JavaOops concept in Java
Oops concept in Java
 
Object-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdfObject-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdf
 
Five pattern(facade mediator_singleton_monostate_null)
Five pattern(facade mediator_singleton_monostate_null)Five pattern(facade mediator_singleton_monostate_null)
Five pattern(facade mediator_singleton_monostate_null)
 
Core Java Learning Path
Core Java Learning PathCore Java Learning Path
Core Java Learning Path
 
Exploring the Pillars of Object java.pdf
Exploring the Pillars of Object java.pdfExploring the Pillars of Object java.pdf
Exploring the Pillars of Object java.pdf
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) Languages
 
Intro to oop.pptx
Intro to oop.pptxIntro to oop.pptx
Intro to oop.pptx
 
Must Know Interview questions in Java.pptx
Must Know Interview questions in Java.pptxMust Know Interview questions in Java.pptx
Must Know Interview questions in Java.pptx
 
Java chapter 3 - OOPs concepts
Java chapter 3 - OOPs conceptsJava chapter 3 - OOPs concepts
Java chapter 3 - OOPs concepts
 

More from Amr Elghadban (AmrAngry)

More from Amr Elghadban (AmrAngry) (9)

Code detox
Code detoxCode detox
Code detox
 
08 objective-c session 8
08  objective-c session 808  objective-c session 8
08 objective-c session 8
 
07 objective-c session 7
07  objective-c session 707  objective-c session 7
07 objective-c session 7
 
05 objective-c session 5
05  objective-c session 505  objective-c session 5
05 objective-c session 5
 
04 objective-c session 4
04  objective-c session 404  objective-c session 4
04 objective-c session 4
 
03 objective-c session 3
03  objective-c session 303  objective-c session 3
03 objective-c session 3
 
02 objective-c session 2
02  objective-c session 202  objective-c session 2
02 objective-c session 2
 
01 objective-c session 1
01  objective-c session 101  objective-c session 1
01 objective-c session 1
 
00 intro ios
00 intro ios00 intro ios
00 intro ios
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

0-oop java-intro

  • 1. OOP OBJECT-ORIENTED PROGRAMMING ▸ Using the simple syntax provided by the Java programming language. BY AMR ELGHADBAN
  • 2. Object-Oriented Programming Concepts BASIC CONCEPTS ▸ This lesson will introduce you to ▸ 1- objects. ▸ 2- classes. ▸ 3- inheritance. ▸ 4- interfaces. ▸ 5- packages.(JAVA) ▸ Each discussion focuses on how these concepts relate to the real world, while simultaneously providing an introduction to the syntax of the Java programming language.
  • 3. Object-Oriented Programming Concepts WHAT IS AN OBJECT? ▸ Software objects are often used to model the real-world objects that you find in everyday life. ▸ An object is a software bundle of related state and behaviour. ▸ This lesson explains how state and behaviour are represented within an object. ▸ introduces the concept of data encapsulation.
  • 4. Object-Oriented Programming Concepts WHAT IS A CLASS? ▸ A class is a blueprint or prototype from which objects are created. ▸ This section defines a class that models the state and behaviour of a real-world object.
  • 5. Object-Oriented Programming Concepts WHAT IS INHERITANCE? ▸ Inheritance provides a powerful and natural mechanism for organizing and structuring your software. ▸ This section explains how classes inherit state and behaviour from their superclasses. ▸ Explains how to derive one class from another.
  • 6. Object-Oriented Programming Concepts WHAT IS AN INTERFACE? ▸ An interface is a contract between a class and the outside world. ▸ When a class implements an interface, it promises to provide the behaviour published by that interface. ▸ Interface defines a simple behaviour without implementation explains the necessary changes for any class that implements it.
  • 7. Object-Oriented Programming Concepts WHAT IS A PACKAGE?…(JAVA) ▸ A package is a namespace for organising classes and interfaces in a logical manner. ▸ Placing your code into packages makes large software projects easier to manage. ▸ This section explains why this is useful, and introduces you to the Application Programming Interface (API) provided by the Java platform.
  • 8. THANKS WISH YOU A WONDERFUL DAY ▸ Skype : amr_elghadban ▸ Email :amr.elghadban@gmail.com ▸ Phone : (+20)1098558500 ▸ Fb/amr.elghadban ▸ Linkedin/amr_elghadban