SlideShare a Scribd company logo
Welcome
Presentation To: Md. Reduanul Haque
Lecturer of CSE
Daffodil International University
Presentation About
Object - Oriented
Programming Concepts
Group Members
 Pritom Chaki ID: 151-15-453
 Nur E Nahain Shanto ID:151-15-245
 Kumol Khanto Bhoumik ID:151-15-254
 Mokabbir Alam Sani ID: 151-15-240
Topics
 Fundamental of OOP
 Encapsulation
 Inheritance
 Abstract Class
 Association
 Polymorphism
 Interface
 Exceptional Handling
Fundamental of OOP
To know the Object Oriented Programming we
should know two things:
Object
Class
Object
 Objects are key to understanding object-oriented technology
 Definition: An object is a bundle of variables and related
methods.
 An object has two property:
1. Has property
2. Does Property
Example:
For Tourist Guide App:
Has Property: Tourists, Places, Transports, Hotel;
Does Property: Search for Places, Login, Search or Booking Transport
and Hotel
Class
 Software “blueprints” for objects are called classes
Definition:
A class is a blueprint or prototype that defines the variables and
methods common to all objects of a certain kind
 Each object has a class which defines its data(Has property) and
behavior(Does property).
Encapsulation
 Encapsulation is the mechanism that binds the data &
function in one form known as class.
 The data & function may be private or public.
 Data fields are private.
 Constructors and assessors are defined (getters and setters).
Example
Encapsulation Cont….
 Ensures that structural changes remain local:
Changing the class internals does not affect any code
outside of the class
Changing methods' implementation
does not reflect the clients using them
 Encapsulation allows adding some logic when
accessing client's data
 Hiding implementation details reduces complexity 
easier maintenance
Inheritance
Definition: Inheritance is transitive relation, allow classes to be defined
in terms of other classes
 A derived class extends its base class
 It can add new members but cannot remove derived ones
 Declaring new members with the same name or signature
hides the inherited ones
 A class can declare virtual methods and properties
 Derived classes can override the implementation of these members
Example
-----------------
Abstract Class
 An abstract class is a class that is declared abstract —it may
or may not include abstract methods.
 Abstract classes cannot be instantiated, but they can be
subclassed.
 When an abstract class is subclassed, the subclass usually
provides implementations for all of the abstract methods in
its parent class.
Example:
 Class 1:
 Class 2:
Association
 Association establish relationship between two classes
through their objects.
 The relationship can be one to one, One to many, many
to one and many to many.
Example
Polymorphism
“Poly”= Many, “Morphism”= forms
Polymorphism is the ability of an object to take on many
forms.
The most common use of polymorphism in OOP occurs
when a parent class reference is used to refer to a child
class object.
.
Polymorphism Cont…
 Polymorphism ability to take more than one form
(objects have more than one type)
A class can be used through its parent interface
A child class may override some of the behaviors of the
parent class
 Polymorphism allows abstract operations to be defined
and used
Abstract operations are defined in the base class'
interface and implemented in the child classes
Example
Interface
 An interface in java is a blueprint of a class. It has static
constants and abstract methods only.
 The interface in java is a mechanism to achieve fully
abstraction. There can be only abstract methods in the java
interface not method body. It is used to achieve fully abstraction
and multiple inheritance in Java.
 Java Interface also represents a relationship.
 It cannot be instantiated just like abstract class.
Use of Java interface
 It is used to achieve fully abstraction.
 By interface, we can support the functionality of multiple
inheritance.
 It can be used to achieve loose coupling.
Example
Exception Handling
 The exception handling in java is one of the powerful mechanism
to handle the runtime errors so that normal flow of the
application can be maintained.
 There are three types of Exception Handling
I. Checked Exception
II. Unchecked Exception
III. Error
Exception Handling Cont….
 1) Checked Exception: The classes that extend Throwable class except
RuntimeException and Error are known as checked exceptions e.g. IOException,
SQLException etc. Checked exceptions are checked at compile-time.
 2) Unchecked Exception: The classes that extend RuntimeException are known as
unchecked exceptions e.g. ArithmeticException, NullPointerException,
ArrayIndexOutOfBoundsException etc. Unchecked exceptions are not checked at
compile-time rather they are checked at runtime.
 3) Error: Error is irrecoverable e.g. OutOfMemoryError, VirtualMachineError,
AssertionError etc.
Exception Handling Cont….
 There are 5 keywords used in java exception handling.
I. Try
II. Catch
III. Finally
IV. Throw
V. Throws
Example
Have a Good Day!
For contact: facebook.com/pritom.chaki.77
pritom.cse.diu@gamil.com
Ad

More Related Content

What's hot (20)

Templates in c++
Templates in c++Templates in c++
Templates in c++
ThamizhselviKrishnam
 
Object-oriented Programming-with C#
Object-oriented Programming-with C#Object-oriented Programming-with C#
Object-oriented Programming-with C#
Doncho Minkov
 
Java IO
Java IOJava IO
Java IO
UTSAB NEUPANE
 
Java interfaces
Java interfacesJava interfaces
Java interfaces
Raja Sekhar
 
Generics in java
Generics in javaGenerics in java
Generics in java
suraj pandey
 
Interfaces in java
Interfaces in javaInterfaces in java
Interfaces in java
Abishek Purushothaman
 
Type casting in java
Type casting in javaType casting in java
Type casting in java
Farooq Baloch
 
Strings in java
Strings in javaStrings in java
Strings in java
Kuppusamy P
 
Control flow statements in java
Control flow statements in javaControl flow statements in java
Control flow statements in java
yugandhar vadlamudi
 
virtual function
virtual functionvirtual function
virtual function
VENNILAV6
 
Classes&objects
Classes&objectsClasses&objects
Classes&objects
M Vishnuvardhan Reddy
 
Exception handling in java
Exception handling in javaException handling in java
Exception handling in java
Pratik Soares
 
Java interfaces
Java   interfacesJava   interfaces
Java interfaces
Elizabeth alexander
 
Exceptions in Java
Exceptions in JavaExceptions in Java
Exceptions in Java
Vadym Lotar
 
Java Streams
Java StreamsJava Streams
Java Streams
M Vishnuvardhan Reddy
 
Object-oriented concepts
Object-oriented conceptsObject-oriented concepts
Object-oriented concepts
BG Java EE Course
 
SQLITE Android
SQLITE AndroidSQLITE Android
SQLITE Android
Sourabh Sahu
 
Encapsulation C++
Encapsulation C++Encapsulation C++
Encapsulation C++
Hashim Hashim
 
Static Data Members and Member Functions
Static Data Members and Member FunctionsStatic Data Members and Member Functions
Static Data Members and Member Functions
MOHIT AGARWAL
 
Polymorphism in java
Polymorphism in javaPolymorphism in java
Polymorphism in java
Elizabeth alexander
 

Viewers also liked (6)

Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
kamal kotecha
 
Exceptional Handling in Java
Exceptional Handling in JavaExceptional Handling in Java
Exceptional Handling in Java
QaziUmarF786
 
Handling Exceptions In C & C++[Part A]
Handling Exceptions In C & C++[Part A]Handling Exceptions In C & C++[Part A]
Handling Exceptions In C & C++[Part A]
ppd1961
 
Exception Handling
Exception HandlingException Handling
Exception Handling
Sunil OS
 
String Handling
String HandlingString Handling
String Handling
Bharat17485
 
Exception handling
Exception handlingException handling
Exception handling
Abhishek Pachisia
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
kamal kotecha
 
Exceptional Handling in Java
Exceptional Handling in JavaExceptional Handling in Java
Exceptional Handling in Java
QaziUmarF786
 
Handling Exceptions In C & C++[Part A]
Handling Exceptions In C & C++[Part A]Handling Exceptions In C & C++[Part A]
Handling Exceptions In C & C++[Part A]
ppd1961
 
Exception Handling
Exception HandlingException Handling
Exception Handling
Sunil OS
 
Ad

Similar to Object Oriented Programing JAVA presentaion (20)

Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
mustafa sarac
 
Unit 1 Java
Unit 1 JavaUnit 1 Java
Unit 1 Java
arnold 7490
 
Object Oriented Programming - Polymorphism and Interfaces
Object Oriented Programming - Polymorphism and InterfacesObject Oriented Programming - Polymorphism and Interfaces
Object Oriented Programming - Polymorphism and Interfaces
Habtamu Wolde
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming language
Md.Al-imran Roton
 
Java Interview Questions For Freshers
Java Interview Questions For FreshersJava Interview Questions For Freshers
Java Interview Questions For Freshers
zynofustechnology
 
Introduction to oop
Introduction to oopIntroduction to oop
Introduction to oop
colleges
 
Fundamentals of oops in .Net
Fundamentals of oops in .NetFundamentals of oops in .Net
Fundamentals of oops in .Net
Harman Bajwa
 
C# interview
C# interviewC# interview
C# interview
Thomson Reuters
 
JAVA-PPT'S.pdf
JAVA-PPT'S.pdfJAVA-PPT'S.pdf
JAVA-PPT'S.pdf
AnmolVerma363503
 
OOPS ABAP.docx
OOPS ABAP.docxOOPS ABAP.docx
OOPS ABAP.docx
JayantaPatra16
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsSAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
Garuda Trainings
 
Java interview questions
Java interview questionsJava interview questions
Java interview questions
Shashwat Shriparv
 
Nitish Chaulagai Java1.pptx
Nitish Chaulagai Java1.pptxNitish Chaulagai Java1.pptx
Nitish Chaulagai Java1.pptx
NitishChaulagai
 
OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
Questpond
 
Review oop and ood
Review oop and oodReview oop and ood
Review oop and ood
than sare
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
Kuntal Bhowmick
 
CS8392-OOPS-Printed-Notes-All-Units.pdf for students
CS8392-OOPS-Printed-Notes-All-Units.pdf for studentsCS8392-OOPS-Printed-Notes-All-Units.pdf for students
CS8392-OOPS-Printed-Notes-All-Units.pdf for students
KaviShetty
 
Master of Computer Application (MCA) – Semester 4 MC0078
Master of Computer Application (MCA) – Semester 4  MC0078Master of Computer Application (MCA) – Semester 4  MC0078
Master of Computer Application (MCA) – Semester 4 MC0078
Aravind NC
 
Object Oriented Principles
Object Oriented PrinciplesObject Oriented Principles
Object Oriented Principles
Emprovise
 
Abstraction encapsulation inheritance polymorphism
Abstraction encapsulation inheritance polymorphismAbstraction encapsulation inheritance polymorphism
Abstraction encapsulation inheritance polymorphism
PriyadharshiniG41
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
mustafa sarac
 
Object Oriented Programming - Polymorphism and Interfaces
Object Oriented Programming - Polymorphism and InterfacesObject Oriented Programming - Polymorphism and Interfaces
Object Oriented Programming - Polymorphism and Interfaces
Habtamu Wolde
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming language
Md.Al-imran Roton
 
Java Interview Questions For Freshers
Java Interview Questions For FreshersJava Interview Questions For Freshers
Java Interview Questions For Freshers
zynofustechnology
 
Introduction to oop
Introduction to oopIntroduction to oop
Introduction to oop
colleges
 
Fundamentals of oops in .Net
Fundamentals of oops in .NetFundamentals of oops in .Net
Fundamentals of oops in .Net
Harman Bajwa
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsSAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
Garuda Trainings
 
Nitish Chaulagai Java1.pptx
Nitish Chaulagai Java1.pptxNitish Chaulagai Java1.pptx
Nitish Chaulagai Java1.pptx
NitishChaulagai
 
OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
Questpond
 
Review oop and ood
Review oop and oodReview oop and ood
Review oop and ood
than sare
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
Kuntal Bhowmick
 
CS8392-OOPS-Printed-Notes-All-Units.pdf for students
CS8392-OOPS-Printed-Notes-All-Units.pdf for studentsCS8392-OOPS-Printed-Notes-All-Units.pdf for students
CS8392-OOPS-Printed-Notes-All-Units.pdf for students
KaviShetty
 
Master of Computer Application (MCA) – Semester 4 MC0078
Master of Computer Application (MCA) – Semester 4  MC0078Master of Computer Application (MCA) – Semester 4  MC0078
Master of Computer Application (MCA) – Semester 4 MC0078
Aravind NC
 
Object Oriented Principles
Object Oriented PrinciplesObject Oriented Principles
Object Oriented Principles
Emprovise
 
Abstraction encapsulation inheritance polymorphism
Abstraction encapsulation inheritance polymorphismAbstraction encapsulation inheritance polymorphism
Abstraction encapsulation inheritance polymorphism
PriyadharshiniG41
 
Ad

More from Pritom Chaki (9)

Blockchain Technology and its Business Application
Blockchain Technology and  its Business ApplicationBlockchain Technology and  its Business Application
Blockchain Technology and its Business Application
Pritom Chaki
 
Matrix and It's Applications
Matrix and It's ApplicationsMatrix and It's Applications
Matrix and It's Applications
Pritom Chaki
 
Social Media & Privacy in Bangladesh
Social Media & Privacy in BangladeshSocial Media & Privacy in Bangladesh
Social Media & Privacy in Bangladesh
Pritom Chaki
 
Leadership of Lord Krishna
Leadership of Lord Krishna Leadership of Lord Krishna
Leadership of Lord Krishna
Pritom Chaki
 
Presentation skill-development (BUP)
Presentation skill-development (BUP)Presentation skill-development (BUP)
Presentation skill-development (BUP)
Pritom Chaki
 
Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)
Pritom Chaki
 
Transmission media (data communication)
Transmission media (data communication)Transmission media (data communication)
Transmission media (data communication)
Pritom Chaki
 
OSI 7 Layer Model
OSI 7 Layer ModelOSI 7 Layer Model
OSI 7 Layer Model
Pritom Chaki
 
Object Orinted Programing(OOP) concepts \
Object Orinted Programing(OOP) concepts \Object Orinted Programing(OOP) concepts \
Object Orinted Programing(OOP) concepts \
Pritom Chaki
 
Blockchain Technology and its Business Application
Blockchain Technology and  its Business ApplicationBlockchain Technology and  its Business Application
Blockchain Technology and its Business Application
Pritom Chaki
 
Matrix and It's Applications
Matrix and It's ApplicationsMatrix and It's Applications
Matrix and It's Applications
Pritom Chaki
 
Social Media & Privacy in Bangladesh
Social Media & Privacy in BangladeshSocial Media & Privacy in Bangladesh
Social Media & Privacy in Bangladesh
Pritom Chaki
 
Leadership of Lord Krishna
Leadership of Lord Krishna Leadership of Lord Krishna
Leadership of Lord Krishna
Pritom Chaki
 
Presentation skill-development (BUP)
Presentation skill-development (BUP)Presentation skill-development (BUP)
Presentation skill-development (BUP)
Pritom Chaki
 
Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)
Pritom Chaki
 
Transmission media (data communication)
Transmission media (data communication)Transmission media (data communication)
Transmission media (data communication)
Pritom Chaki
 
Object Orinted Programing(OOP) concepts \
Object Orinted Programing(OOP) concepts \Object Orinted Programing(OOP) concepts \
Object Orinted Programing(OOP) concepts \
Pritom Chaki
 

Recently uploaded (20)

Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Journal of Soft Computing in Civil Engineering
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 

Object Oriented Programing JAVA presentaion

  • 1. Welcome Presentation To: Md. Reduanul Haque Lecturer of CSE Daffodil International University
  • 2. Presentation About Object - Oriented Programming Concepts
  • 3. Group Members  Pritom Chaki ID: 151-15-453  Nur E Nahain Shanto ID:151-15-245  Kumol Khanto Bhoumik ID:151-15-254  Mokabbir Alam Sani ID: 151-15-240
  • 4. Topics  Fundamental of OOP  Encapsulation  Inheritance  Abstract Class  Association  Polymorphism  Interface  Exceptional Handling
  • 5. Fundamental of OOP To know the Object Oriented Programming we should know two things: Object Class
  • 6. Object  Objects are key to understanding object-oriented technology  Definition: An object is a bundle of variables and related methods.  An object has two property: 1. Has property 2. Does Property
  • 7. Example: For Tourist Guide App: Has Property: Tourists, Places, Transports, Hotel; Does Property: Search for Places, Login, Search or Booking Transport and Hotel
  • 8. Class  Software “blueprints” for objects are called classes Definition: A class is a blueprint or prototype that defines the variables and methods common to all objects of a certain kind  Each object has a class which defines its data(Has property) and behavior(Does property).
  • 9. Encapsulation  Encapsulation is the mechanism that binds the data & function in one form known as class.  The data & function may be private or public.  Data fields are private.  Constructors and assessors are defined (getters and setters).
  • 11. Encapsulation Cont….  Ensures that structural changes remain local: Changing the class internals does not affect any code outside of the class Changing methods' implementation does not reflect the clients using them  Encapsulation allows adding some logic when accessing client's data  Hiding implementation details reduces complexity  easier maintenance
  • 12. Inheritance Definition: Inheritance is transitive relation, allow classes to be defined in terms of other classes  A derived class extends its base class  It can add new members but cannot remove derived ones  Declaring new members with the same name or signature hides the inherited ones  A class can declare virtual methods and properties  Derived classes can override the implementation of these members
  • 14. Abstract Class  An abstract class is a class that is declared abstract —it may or may not include abstract methods.  Abstract classes cannot be instantiated, but they can be subclassed.  When an abstract class is subclassed, the subclass usually provides implementations for all of the abstract methods in its parent class.
  • 16. Association  Association establish relationship between two classes through their objects.  The relationship can be one to one, One to many, many to one and many to many.
  • 18. Polymorphism “Poly”= Many, “Morphism”= forms Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. .
  • 19. Polymorphism Cont…  Polymorphism ability to take more than one form (objects have more than one type) A class can be used through its parent interface A child class may override some of the behaviors of the parent class  Polymorphism allows abstract operations to be defined and used Abstract operations are defined in the base class' interface and implemented in the child classes
  • 21. Interface  An interface in java is a blueprint of a class. It has static constants and abstract methods only.  The interface in java is a mechanism to achieve fully abstraction. There can be only abstract methods in the java interface not method body. It is used to achieve fully abstraction and multiple inheritance in Java.  Java Interface also represents a relationship.  It cannot be instantiated just like abstract class.
  • 22. Use of Java interface  It is used to achieve fully abstraction.  By interface, we can support the functionality of multiple inheritance.  It can be used to achieve loose coupling.
  • 24. Exception Handling  The exception handling in java is one of the powerful mechanism to handle the runtime errors so that normal flow of the application can be maintained.  There are three types of Exception Handling I. Checked Exception II. Unchecked Exception III. Error
  • 25. Exception Handling Cont….  1) Checked Exception: The classes that extend Throwable class except RuntimeException and Error are known as checked exceptions e.g. IOException, SQLException etc. Checked exceptions are checked at compile-time.  2) Unchecked Exception: The classes that extend RuntimeException are known as unchecked exceptions e.g. ArithmeticException, NullPointerException, ArrayIndexOutOfBoundsException etc. Unchecked exceptions are not checked at compile-time rather they are checked at runtime.  3) Error: Error is irrecoverable e.g. OutOfMemoryError, VirtualMachineError, AssertionError etc.
  • 26. Exception Handling Cont….  There are 5 keywords used in java exception handling. I. Try II. Catch III. Finally IV. Throw V. Throws
  • 28. Have a Good Day! For contact: facebook.com/pritom.chaki.77 [email protected]