SlideShare a Scribd company logo
Structured Programming Language
vs
Object Oriented Programming Language
By
Sana Mateen
• C is
called a structured programming lang
uage because to solve a large
problem,
• C programming language divides the
problem into smaller
modules called functions or
procedures each of which handles a
particular responsibility.
• The program which solves the entire
problem is a collection of such
functions.
• structured programming can save
time and energy when writing small
and simple programs (Though Simple
program is quite relative to the
writer) that would essentially hold
into one page.
• Object-Oriented Programming
(OOP) is a programming language
model organized around objects
rather than “actions”.
• The leading languages based on
OOP are C++, Java, Python, C#,
Visual Basic etc…
• The first step in OOP is to identify
all the objects the programmer
wants to manipulate and how they
relate to each other.
• Once an object has been identified,
the role of the programmer is to
generalize it as a class of objects
and define the kind of data that it
contains and list of procedures that
manipulate it.
OOP Basics
• Object:In real world could be a desk,tv,bicycle etc.
• It share two characteristics state and behavior.
• An object stores its state in fields called variables and its behavior through
methods.
• Methods operate on an object internal state and serve as the primary
mechanism for object to object communication.
Encapsulation
• Encapsulation in java is a process of wrapping code and data
together into a single unit, for example capsule i.e. mixed of
several medicines.
• It is a technique of making the fields in a class private and
providing access to fields via public methods
Polymorphism
• It is the concept of object oriented programming.The ability of different
objects to respond, each in its own way, to identical messages is called
polymorphism.
• When one task is performed by different ways i.e. known as
polymorphism.
• poly mean many morph mean form.
Inheritance
• Inheritance in java is a mechanism in which one object acquires all the
properties and behaviors of parent object.
• The idea behind inheritance in java is that you can create new classes
that are built upon existing classes.
• When you inherit from an existing class, you can reuse methods and fields
of parent class, and you can add new methods and fields also.
• Inheritance represents the IS-A relationship, also known as parent-
child relationship.
Program
• An organized list of instructions that, when executed, causes the computer
to behave in a predetermined manner. Without programs, computers are
useless.
• A program is like a recipe. It contains a list of ingredients
(called variables) and a list of directions (called statements) that tell the
computer what to do with the variables. The variables can represent
numeric data, text, or graphical images.
• There are many programming languages --
C, C++, Pascal, BASIC, FORTRAN, COBOL, and LISP are just a few. These are
all high-level languages. One can also write programs in low-level
languages called assembly languages, although this is more difficult.
• Low-level languages are closer to the language used by a computer, while
high-level languages are closer to human languages.
• Eventually, every program must be translated into a machine
language that the computer can understand. This translation is performed
by compilers, interpreters, and assemblers.
• When you buy software, you normally buy an executable version of a
program. This means that the program is already in machine language -- it
has already been compiled and assembled and is ready to execute.
L 3.4
Java Class Hierarchy
 In Java, class “Object” is the base class to all other classes
 If we do not explicitly say extends in a new class definition, it
implicitly extends Object
 The tree of classes that extend from Object and all of its subclasses are
is called the class hierarchy
 All classes eventually lead back up to Object
 This will enable consistent access of objects of different classes.
Abstraction is the concept of exposing only the
required essential characteristics and behavior
with respect to a context.
Hiding of data is known as data abstraction. In
object oriented programming language this is
implemented automatically while writing the
code in the form of class and object.
Real Life Example of Abstraction in Java
Abstraction shows only important things to the
user and hides the internal details, for example,
when we ride a bike, we only know about how
to ride bikes but can not know about how it
work? And also we do not know the internal
functionality of a bike.

More Related Content

Similar to java introduction features and propertie

Object oriented programming 6 oop with c++
Object oriented programming 6  oop with c++Object oriented programming 6  oop with c++
Object oriented programming 6 oop with c++
Vaibhav Khanna
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
Object oriented programming
Object oriented programmingObject oriented programming
SE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPTSE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPT
nikshaikh786
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
Hashni T
 
130704798265658191
130704798265658191130704798265658191
130704798265658191
Tanzeel Ahmad
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
SherinRappai
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
SherinRappai1
 
Introduction to Software - Coder Forge - John Mulhall
Introduction to Software - Coder Forge - John MulhallIntroduction to Software - Coder Forge - John Mulhall
Introduction to Software - Coder Forge - John Mulhall
John Mulhall
 
INTRODUCTION TO JAVA
INTRODUCTION TO JAVAINTRODUCTION TO JAVA
INTRODUCTION TO JAVA
RAMALINGHAM KRISHNAMOORTHY
 
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
 
introduction of Object oriented programming
introduction of Object oriented programmingintroduction of Object oriented programming
introduction of Object oriented programming
RiturajJain8
 
Intro to oop.pptx
Intro to oop.pptxIntro to oop.pptx
Intro to oop.pptx
UmerUmer25
 
Oop by edgar lagman jr
Oop by edgar lagman jr Oop by edgar lagman jr
Oop by edgar lagman jr
Jun-jun Lagman
 
oop.pptx
oop.pptxoop.pptx
oop.pptx
KabitaParajuli3
 
Oops concept in Java
Oops concept in JavaOops concept in Java
Oops concept in Java
Ducat India
 
object oriented programming examples
object oriented programming examplesobject oriented programming examples
object oriented programming examples
Abdii Rashid
 
CPP-Unit 1.pptx
CPP-Unit 1.pptxCPP-Unit 1.pptx
CPP-Unit 1.pptx
YashKoli22
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
Shipra Swati
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
Prof. Dr. K. Adisesha
 

Similar to java introduction features and propertie (20)

Object oriented programming 6 oop with c++
Object oriented programming 6  oop with c++Object oriented programming 6  oop with c++
Object oriented programming 6 oop with c++
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
SE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPTSE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPT
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
 
130704798265658191
130704798265658191130704798265658191
130704798265658191
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Introduction to Software - Coder Forge - John Mulhall
Introduction to Software - Coder Forge - John MulhallIntroduction to Software - Coder Forge - John Mulhall
Introduction to Software - Coder Forge - John Mulhall
 
INTRODUCTION TO JAVA
INTRODUCTION TO JAVAINTRODUCTION TO JAVA
INTRODUCTION TO JAVA
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) Languages
 
introduction of Object oriented programming
introduction of Object oriented programmingintroduction of Object oriented programming
introduction of Object oriented programming
 
Intro to oop.pptx
Intro to oop.pptxIntro to oop.pptx
Intro to oop.pptx
 
Oop by edgar lagman jr
Oop by edgar lagman jr Oop by edgar lagman jr
Oop by edgar lagman jr
 
oop.pptx
oop.pptxoop.pptx
oop.pptx
 
Oops concept in Java
Oops concept in JavaOops concept in Java
Oops concept in Java
 
object oriented programming examples
object oriented programming examplesobject oriented programming examples
object oriented programming examples
 
CPP-Unit 1.pptx
CPP-Unit 1.pptxCPP-Unit 1.pptx
CPP-Unit 1.pptx
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
 

More from SanaMateen7

data mining preprocessing notes and pptt
data mining preprocessing notes and ppttdata mining preprocessing notes and pptt
data mining preprocessing notes and pptt
SanaMateen7
 
tcpip protocol compuetr networks notes.ppt
tcpip protocol compuetr networks notes.ppttcpip protocol compuetr networks notes.ppt
tcpip protocol compuetr networks notes.ppt
SanaMateen7
 
Chapter2.ppt
Chapter2.pptChapter2.ppt
Chapter2.ppt
SanaMateen7
 
08-Switching.ppt
08-Switching.ppt08-Switching.ppt
08-Switching.ppt
SanaMateen7
 
circuitswitch.ppt
circuitswitch.pptcircuitswitch.ppt
circuitswitch.ppt
SanaMateen7
 
ch2_v1.ppt
ch2_v1.pptch2_v1.ppt
ch2_v1.ppt
SanaMateen7
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
SanaMateen7
 
IOT ARDUINO UNO.pptx
IOT ARDUINO UNO.pptxIOT ARDUINO UNO.pptx
IOT ARDUINO UNO.pptx
SanaMateen7
 
intro.ppt
intro.pptintro.ppt
intro.ppt
SanaMateen7
 
IOT W1.pptx
IOT W1.pptxIOT W1.pptx
IOT W1.pptx
SanaMateen7
 

More from SanaMateen7 (10)

data mining preprocessing notes and pptt
data mining preprocessing notes and ppttdata mining preprocessing notes and pptt
data mining preprocessing notes and pptt
 
tcpip protocol compuetr networks notes.ppt
tcpip protocol compuetr networks notes.ppttcpip protocol compuetr networks notes.ppt
tcpip protocol compuetr networks notes.ppt
 
Chapter2.ppt
Chapter2.pptChapter2.ppt
Chapter2.ppt
 
08-Switching.ppt
08-Switching.ppt08-Switching.ppt
08-Switching.ppt
 
circuitswitch.ppt
circuitswitch.pptcircuitswitch.ppt
circuitswitch.ppt
 
ch2_v1.ppt
ch2_v1.pptch2_v1.ppt
ch2_v1.ppt
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
 
IOT ARDUINO UNO.pptx
IOT ARDUINO UNO.pptxIOT ARDUINO UNO.pptx
IOT ARDUINO UNO.pptx
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
IOT W1.pptx
IOT W1.pptxIOT W1.pptx
IOT W1.pptx
 

Recently uploaded

The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 

Recently uploaded (20)

The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 

java introduction features and propertie

  • 1. Structured Programming Language vs Object Oriented Programming Language By Sana Mateen
  • 2. • C is called a structured programming lang uage because to solve a large problem, • C programming language divides the problem into smaller modules called functions or procedures each of which handles a particular responsibility. • The program which solves the entire problem is a collection of such functions. • structured programming can save time and energy when writing small and simple programs (Though Simple program is quite relative to the writer) that would essentially hold into one page. • Object-Oriented Programming (OOP) is a programming language model organized around objects rather than “actions”. • The leading languages based on OOP are C++, Java, Python, C#, Visual Basic etc… • The first step in OOP is to identify all the objects the programmer wants to manipulate and how they relate to each other. • Once an object has been identified, the role of the programmer is to generalize it as a class of objects and define the kind of data that it contains and list of procedures that manipulate it.
  • 3. OOP Basics • Object:In real world could be a desk,tv,bicycle etc. • It share two characteristics state and behavior. • An object stores its state in fields called variables and its behavior through methods. • Methods operate on an object internal state and serve as the primary mechanism for object to object communication.
  • 4.
  • 5.
  • 6.
  • 7. Encapsulation • Encapsulation in java is a process of wrapping code and data together into a single unit, for example capsule i.e. mixed of several medicines. • It is a technique of making the fields in a class private and providing access to fields via public methods
  • 8. Polymorphism • It is the concept of object oriented programming.The ability of different objects to respond, each in its own way, to identical messages is called polymorphism. • When one task is performed by different ways i.e. known as polymorphism. • poly mean many morph mean form.
  • 9. Inheritance • Inheritance in java is a mechanism in which one object acquires all the properties and behaviors of parent object. • The idea behind inheritance in java is that you can create new classes that are built upon existing classes. • When you inherit from an existing class, you can reuse methods and fields of parent class, and you can add new methods and fields also. • Inheritance represents the IS-A relationship, also known as parent- child relationship.
  • 10. Program • An organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. Without programs, computers are useless. • A program is like a recipe. It contains a list of ingredients (called variables) and a list of directions (called statements) that tell the computer what to do with the variables. The variables can represent numeric data, text, or graphical images. • There are many programming languages -- C, C++, Pascal, BASIC, FORTRAN, COBOL, and LISP are just a few. These are all high-level languages. One can also write programs in low-level languages called assembly languages, although this is more difficult. • Low-level languages are closer to the language used by a computer, while high-level languages are closer to human languages. • Eventually, every program must be translated into a machine language that the computer can understand. This translation is performed by compilers, interpreters, and assemblers. • When you buy software, you normally buy an executable version of a program. This means that the program is already in machine language -- it has already been compiled and assembled and is ready to execute.
  • 11.
  • 12. L 3.4 Java Class Hierarchy  In Java, class “Object” is the base class to all other classes  If we do not explicitly say extends in a new class definition, it implicitly extends Object  The tree of classes that extend from Object and all of its subclasses are is called the class hierarchy  All classes eventually lead back up to Object  This will enable consistent access of objects of different classes.
  • 13.
  • 14. Abstraction is the concept of exposing only the required essential characteristics and behavior with respect to a context. Hiding of data is known as data abstraction. In object oriented programming language this is implemented automatically while writing the code in the form of class and object. Real Life Example of Abstraction in Java Abstraction shows only important things to the user and hides the internal details, for example, when we ride a bike, we only know about how to ride bikes but can not know about how it work? And also we do not know the internal functionality of a bike.