SlideShare a Scribd company logo
1 of 35
Lecture-1
Instructor Name:
Object Oriented Programming
Today’s Lecture
 Introduction (Course Objective)
 What is Object Orientation?
2
Introduction
Course Objective
 Objective of this course is to make students familiar with the concepts of
Object Oriented Programming
 Software Developers are discovering that using a object oriented design and
implementation approach can make software development much more
productive than was possible with earlier popular techniques like “Structured
Programming”.
 These concepts will be reinforced by their implementation in Java
3
Introduction
Course Contents
 The main contents of the course would be:
 Object Orientation
 Objects & Classes
 Overloading & Overriding
 Abstraction
 Inheritance
 Polymorphism
 Exception Handling
 MultiThreading
4
Introduction
Recommended Books
 The Recommended books for this course are
5
Introduction
Marks Distribution (Theory)
 Mid Exam 20% (Min 2 Assignments)
 Quiz 10% (Min. 3 Quiz)
 Assignment & Class participation 10% (0 marks < 75%)
 Final Examination 60% (MCQ, Logical,Theory)
Marks Distribution (Lab)
 Attendance 5%
 Lab Tasks 5%
 Viva 10%
 Practical Exam 30%
(Code + Logic + Compilation + Output)
6
Object Orientation
What is Object Orientation?
 “Object" refers to a particular instance of a class.
 whereas the object can be a combination of variables, functions, and data structures.
 Object-oriented programming (OOP) is a programming language model
organized around objects rather than "actions" and data rather than “logic”.
 Object-oriented or object-orientation is a software engineering concept, in which concepts are
represented as "objects“
 It is a technique in which we visualize our programming problems in the form of objects and
their interactions as happened in real life
 OO Model consists of several interacting objects.
7
Object Orientation
Object Orientation Examples
Consider the objects around us in our daily life. These objects interacts with each
other to perform different operations.
8
Lives in
Drives
Object Orientation
Object Orientation Examples
9
Object Orientation
10
Object Oriented Model
What is a Model?
 A model is abstraction of something.
 Purpose is to understand the product before using it.
 Example are Highway Map , Architectural Design and Mechanical models.
What is OO Model in Programming?
 In the context of programming, Models are used to understand problem before
start developing it.
 Object Oriented Models can be developed by showing interaction among
objects to understand a system implementation.
11
Object Oriented Model
12
Object Oriented Model Example 1
Object Oriented Model
13
Object Oriented Model Example 2
Object Orientation
Object Orientation - Advantages
 An Object Oriented Model Maps directly to reality as seen in the previous
examples.
 An Object Oriented Model for a problem can be developed easily
 An Object Oriented Model is easily understandable.
 An Object Oriented Model objects are reusable.
 Implementation
 Can be implemented easily by using any Object Oriented Programming
Language Like, Java in our case
14
Object Orientation
What is an Object?
 An Object is
 Something tangible (Ali, School, House, Car)
 Something conceptual (that can be apprehended intellectually for example
time date and so on..)
 OOP uses objects as its Fundamental Building Blocks
 Objects are the basic run time entities in an object oriented system
 Every object is associated with data and functions which defines meaningful
operations on that object
 Object is a real world existing entity
15
Object Orientation
What is an Object?
 An Object has
 State (Attributes)
 Well-defined behaviour (Operations)
 Unique Identity
16
Object Orientation
What is an Object?
 An Object is an entity that has state, behaviour and identity. There are many
object around us.
 For Example, a computer mouse is an object. It is considered as an object with
state and behavior
17
Object Orientation
What is an Object?
18
Object Orientation
Types of Objects
An object may be tangible or Intangible
19
Object Oriented Programming
What is Object Oriented Programming?
 Object Oriented Programming (OOP) is an engineering approach for building
software systems based on the concepts of classes and objects that are used for
modeling real world entities
 Object Oriented programming is an approach that provides a way of
modularizing programs by creating partitioned memory area of both data and
functions that can be used as template for creating copies of such modules on
demand
 Object Oriented programming is a programming methodology that associates data
structure with a set of operators which act upon it.
20
Object Oriented Programming
What is Object Oriented Programming?
 Object-oriented programming is a programming methodology characterized by
the following concepts:
1. Abstraction.
2. Encapsulation
3. Information hiding
4. Polymorphism
5. Inheritance
21
22
Installing JDK
23
Installing JDK(Download)
24
Installing JDK(Downloading)
25
Installing JDK
26
Installing JDK
27
Installing JDK
28
Installing JDK
29
Installing JDK
30
Installing JDK
31
Installing JDK
32
Installing JDK
33
Installing JDK
34
Installing JDK
35

More Related Content

Viewers also liked

Getting started with docker
Getting started with dockerGetting started with docker
Getting started with dockerJEMLI Fathi
 
fungsi matematika SMA dan Universitas
fungsi matematika SMA dan Universitasfungsi matematika SMA dan Universitas
fungsi matematika SMA dan UniversitasArif Hakim
 
contoh pendahuluan ayam broiler
contoh pendahuluan ayam broilercontoh pendahuluan ayam broiler
contoh pendahuluan ayam broilerbiehanzie
 
ayam pedaging (broiler) manfaat dan kandungannya fakultas peternakan
ayam pedaging (broiler) manfaat dan kandungannya  fakultas peternakan ayam pedaging (broiler) manfaat dan kandungannya  fakultas peternakan
ayam pedaging (broiler) manfaat dan kandungannya fakultas peternakan Arif Hakim
 
Competencias del analista de problemas y tomador de decisiones
Competencias del analista de problemas y tomador de decisionesCompetencias del analista de problemas y tomador de decisiones
Competencias del analista de problemas y tomador de decisionesvanessa estefania
 
Dockerizing Windows Server Applications by Ender Barillas and Taylor Brown
Dockerizing Windows Server Applications by Ender Barillas and Taylor BrownDockerizing Windows Server Applications by Ender Barillas and Taylor Brown
Dockerizing Windows Server Applications by Ender Barillas and Taylor BrownDocker, Inc.
 

Viewers also liked (7)

Daniel
DanielDaniel
Daniel
 
Getting started with docker
Getting started with dockerGetting started with docker
Getting started with docker
 
fungsi matematika SMA dan Universitas
fungsi matematika SMA dan Universitasfungsi matematika SMA dan Universitas
fungsi matematika SMA dan Universitas
 
contoh pendahuluan ayam broiler
contoh pendahuluan ayam broilercontoh pendahuluan ayam broiler
contoh pendahuluan ayam broiler
 
ayam pedaging (broiler) manfaat dan kandungannya fakultas peternakan
ayam pedaging (broiler) manfaat dan kandungannya  fakultas peternakan ayam pedaging (broiler) manfaat dan kandungannya  fakultas peternakan
ayam pedaging (broiler) manfaat dan kandungannya fakultas peternakan
 
Competencias del analista de problemas y tomador de decisiones
Competencias del analista de problemas y tomador de decisionesCompetencias del analista de problemas y tomador de decisiones
Competencias del analista de problemas y tomador de decisiones
 
Dockerizing Windows Server Applications by Ender Barillas and Taylor Brown
Dockerizing Windows Server Applications by Ender Barillas and Taylor BrownDockerizing Windows Server Applications by Ender Barillas and Taylor Brown
Dockerizing Windows Server Applications by Ender Barillas and Taylor Brown
 

Similar to Lecture 1

What is Object Orientation?
What is Object Orientation?What is Object Orientation?
What is Object Orientation?AMITJain879
 
OOPs-Interview-Questions.pdf
OOPs-Interview-Questions.pdfOOPs-Interview-Questions.pdf
OOPs-Interview-Questions.pdfSamir Paul
 
Object Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentObject Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentRishabh Soni
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.pptTigistTilahun1
 
Object-Oriented Analysis and Design
Object-Oriented Analysis and DesignObject-Oriented Analysis and Design
Object-Oriented Analysis and DesignRiazAhmad786
 
Object-OrientedProgrammingObject-Oriented Pr.docx
Object-OrientedProgrammingObject-Oriented Pr.docxObject-OrientedProgrammingObject-Oriented Pr.docx
Object-OrientedProgrammingObject-Oriented Pr.docxvannagoforth
 
Unit1 jaava
Unit1 jaavaUnit1 jaava
Unit1 jaavamrecedu
 
Ooad (object oriented analysis design)
Ooad (object oriented analysis design)Ooad (object oriented analysis design)
Ooad (object oriented analysis design)Gagandeep Nanda
 
Assignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audioAssignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audioRickNZ
 
Thinking Object-Oriented
Thinking Object-OrientedThinking Object-Oriented
Thinking Object-Orientedadil raja
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesJessica Deakin
 
Unit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptxUnit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptxDrYogeshDeshmukh1
 
ooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptxooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptxubaidullah75790
 
M01_OO_Intro.ppt
M01_OO_Intro.pptM01_OO_Intro.ppt
M01_OO_Intro.pptRojaPogul1
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)Manoj Reddy
 

Similar to Lecture 1 (20)

What is Object Orientation?
What is Object Orientation?What is Object Orientation?
What is Object Orientation?
 
OOPs-Interview-Questions.pdf
OOPs-Interview-Questions.pdfOOPs-Interview-Questions.pdf
OOPs-Interview-Questions.pdf
 
Oop's
Oop'sOop's
Oop's
 
Object Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentObject Oriented Approach for Software Development
Object Oriented Approach for Software Development
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
Object-Oriented Analysis and Design
Object-Oriented Analysis and DesignObject-Oriented Analysis and Design
Object-Oriented Analysis and Design
 
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
CS3391 -OOP -UNIT – I  NOTES FINAL.pdfCS3391 -OOP -UNIT – I  NOTES FINAL.pdf
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
 
Object-OrientedProgrammingObject-Oriented Pr.docx
Object-OrientedProgrammingObject-Oriented Pr.docxObject-OrientedProgrammingObject-Oriented Pr.docx
Object-OrientedProgrammingObject-Oriented Pr.docx
 
Unit1 jaava
Unit1 jaavaUnit1 jaava
Unit1 jaava
 
Ooad (object oriented analysis design)
Ooad (object oriented analysis design)Ooad (object oriented analysis design)
Ooad (object oriented analysis design)
 
Assignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audioAssignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audio
 
Thinking Object-Oriented
Thinking Object-OrientedThinking Object-Oriented
Thinking Object-Oriented
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) Languages
 
Unit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptxUnit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptx
 
oops.pdf
oops.pdfoops.pdf
oops.pdf
 
ooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptxooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptx
 
OOP Java
OOP JavaOOP Java
OOP Java
 
M01_OO_Intro.ppt
M01_OO_Intro.pptM01_OO_Intro.ppt
M01_OO_Intro.ppt
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
OOP-1.pptx
OOP-1.pptxOOP-1.pptx
OOP-1.pptx
 

More from talha ijaz

More from talha ijaz (16)

Lecture 23-24.pptx
Lecture 23-24.pptxLecture 23-24.pptx
Lecture 23-24.pptx
 
Lecture 22
Lecture 22Lecture 22
Lecture 22
 
Lecture 20-21
Lecture 20-21Lecture 20-21
Lecture 20-21
 
Lecture 19
Lecture 19Lecture 19
Lecture 19
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
 
Lecture 12
Lecture 12Lecture 12
Lecture 12
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Visual perception
Visual perceptionVisual perception
Visual perception
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Introduction
IntroductionIntroduction
Introduction
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 

Recently uploaded

Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsMonica Sydney
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...kajalverma014
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsMonica Sydney
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxgalaxypingy
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoilmeghakumariji156
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Roommeghakumariji156
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdfMatthew Sinclair
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样ayvbos
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolinonuriaiuzzolino1
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdfMatthew Sinclair
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfJOHNBEBONYAP1
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查ydyuyu
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdfMatthew Sinclair
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrHenryBriggs2
 

Recently uploaded (20)

Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolino
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 

Lecture 1

  • 2. Today’s Lecture  Introduction (Course Objective)  What is Object Orientation? 2
  • 3. Introduction Course Objective  Objective of this course is to make students familiar with the concepts of Object Oriented Programming  Software Developers are discovering that using a object oriented design and implementation approach can make software development much more productive than was possible with earlier popular techniques like “Structured Programming”.  These concepts will be reinforced by their implementation in Java 3
  • 4. Introduction Course Contents  The main contents of the course would be:  Object Orientation  Objects & Classes  Overloading & Overriding  Abstraction  Inheritance  Polymorphism  Exception Handling  MultiThreading 4
  • 5. Introduction Recommended Books  The Recommended books for this course are 5
  • 6. Introduction Marks Distribution (Theory)  Mid Exam 20% (Min 2 Assignments)  Quiz 10% (Min. 3 Quiz)  Assignment & Class participation 10% (0 marks < 75%)  Final Examination 60% (MCQ, Logical,Theory) Marks Distribution (Lab)  Attendance 5%  Lab Tasks 5%  Viva 10%  Practical Exam 30% (Code + Logic + Compilation + Output) 6
  • 7. Object Orientation What is Object Orientation?  “Object" refers to a particular instance of a class.  whereas the object can be a combination of variables, functions, and data structures.  Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than “logic”.  Object-oriented or object-orientation is a software engineering concept, in which concepts are represented as "objects“  It is a technique in which we visualize our programming problems in the form of objects and their interactions as happened in real life  OO Model consists of several interacting objects. 7
  • 8. Object Orientation Object Orientation Examples Consider the objects around us in our daily life. These objects interacts with each other to perform different operations. 8 Lives in Drives
  • 11. Object Oriented Model What is a Model?  A model is abstraction of something.  Purpose is to understand the product before using it.  Example are Highway Map , Architectural Design and Mechanical models. What is OO Model in Programming?  In the context of programming, Models are used to understand problem before start developing it.  Object Oriented Models can be developed by showing interaction among objects to understand a system implementation. 11
  • 12. Object Oriented Model 12 Object Oriented Model Example 1
  • 13. Object Oriented Model 13 Object Oriented Model Example 2
  • 14. Object Orientation Object Orientation - Advantages  An Object Oriented Model Maps directly to reality as seen in the previous examples.  An Object Oriented Model for a problem can be developed easily  An Object Oriented Model is easily understandable.  An Object Oriented Model objects are reusable.  Implementation  Can be implemented easily by using any Object Oriented Programming Language Like, Java in our case 14
  • 15. Object Orientation What is an Object?  An Object is  Something tangible (Ali, School, House, Car)  Something conceptual (that can be apprehended intellectually for example time date and so on..)  OOP uses objects as its Fundamental Building Blocks  Objects are the basic run time entities in an object oriented system  Every object is associated with data and functions which defines meaningful operations on that object  Object is a real world existing entity 15
  • 16. Object Orientation What is an Object?  An Object has  State (Attributes)  Well-defined behaviour (Operations)  Unique Identity 16
  • 17. Object Orientation What is an Object?  An Object is an entity that has state, behaviour and identity. There are many object around us.  For Example, a computer mouse is an object. It is considered as an object with state and behavior 17
  • 18. Object Orientation What is an Object? 18
  • 19. Object Orientation Types of Objects An object may be tangible or Intangible 19
  • 20. Object Oriented Programming What is Object Oriented Programming?  Object Oriented Programming (OOP) is an engineering approach for building software systems based on the concepts of classes and objects that are used for modeling real world entities  Object Oriented programming is an approach that provides a way of modularizing programs by creating partitioned memory area of both data and functions that can be used as template for creating copies of such modules on demand  Object Oriented programming is a programming methodology that associates data structure with a set of operators which act upon it. 20
  • 21. Object Oriented Programming What is Object Oriented Programming?  Object-oriented programming is a programming methodology characterized by the following concepts: 1. Abstraction. 2. Encapsulation 3. Information hiding 4. Polymorphism 5. Inheritance 21
  • 35. 35

Editor's Notes

  1. Abstraction (from the Latin abs, meaning away from and trahere, meaning to draw) is the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics. In object-oriented programming, abstraction is one of three central principles (along with encapsulation and inheritance). Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency. In the same way that abstraction sometimes works in art, the object that remains is a representation of the original, with unwanted detail omitted. The resulting object itself can be referred to as an abstraction, meaning anamed entity made up of selected attributes and behavior specific to a particular usage of the originating entity. Abstraction is related to both encapsulation and data hiding. ================= Abstraction and encapsulation are complementary concepts: abstraction focuses on the observable behavior of an object... encapsulation focuses upon the implementation that gives rise to this behavior... encapsulation is most often achieved through information hiding, which is the process of hiding all of the secrets of object that do not contribute to its essential characteristics. ============================================== Abstraction only expose what is necessary Encapsulation: hide complexity Information hiding: which kind of data expose to which