SlideShare a Scribd company logo
4
Most read
13
Most read
1
HOPE FOUNDATION’S
INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY, (I²IT)
www.isquareit.edu.in
+91 20 22933441 / 2
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
2
Java as Object Oriented
Programming Language-
Overview
- Ms. Shilpa Jadhao
History of JAVA Language…
• Java language developed by company Sun
Microsystems and the creator is James
Gosling.(sun->Stanford university network)
• Group of 4 students at Stanford university
• Problem : create one remote control which
can access all electronics appliances.
• Contacted James, given name Green,
launched in 1992.
• Vinod Ghosala was one of them 4 (Indian)
• Based on concept of remote, decided to have
platform independent language.. Developed
language OAK then renamed it as JAVA.
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
• Oak is a symbol of strength and chosen as a national tree of many countries like
U.S.A., France, Germany, Romania etc. In 1995, Oak was renamed as "Java"
because it was already a trademark by Oak Technologies.
• The suggested names for the languages were "dynamic", "revolutionary", "Silk",
"jolt", "DNA" “JAVA”etc.
• Java is an island of Indonesia where first coffee was produced (called java
coffee).
• In 1995, Time magazine called Java one of the Ten Best Products of 1995.
• JDK 1.0 released in(January 23, 1996).
• SUN microsystems is now (2010)acquired by Oracle.
• Punch line of JAVA : JAVA is everywhere!
"Write once, run anywhere" (WORA)
"write once, run everywhere" (WORE)
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
History of JAVA Language
Versions of Java
1. Java SE ( core java) standard edition
2. Java EE (enterprise edition ) advanced
3. Java ME(micro edition for mobiles ) but now android
is used , java used in android.
• And many more.
• Base is java SE
5
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Introduction to JDK JRE JVM
• Do your computer understands high level language?
• Compiler and Interpreter
• The Compiler of java called as javac converts source code into a
Intermediate file known as Bytecode file.
• The Bytecode file is unique for all types of OS.
• The Interpreter of java (java) converts Bytecode into the
specific OS compatible machine code . This code will vary
according to OS.
6
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Write source code
Compilation done by
JavaC (compiler)
JDK (java development kit)
I/p
O/p
Bytecode
I/p
JVM (Java
Virtual Machine)
= interpreter
Final
O/p
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Figure 1: Program execution flow in Java
•Java Runtime Environment(JRE) :- is part of the
Java Development Kit (JDK). It contains a set of
libraries and tools for developing Java application.
•Java Virtual Machine (JVM)
JVM is set of programs developed by sun Micro System
and supplied as a part of the JDK for reading line by
line line of byte code and it converts into a native
understanding form of operating system.
JRE and JVM
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Figure 2: Java Runtime Environment (JRE)[1]
Figure 3: Java Development Kit (JDK)[1]
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Linking in C
10
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Figure 4: Linking in C programming
Linking in Java
11
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Figure 5: Linking in Java programming
Hello I am JVM !
I Provide runtime environment
to execute bytecode.
Hello I am JDK !
I am physically exists and contains
Java tools, JVM, JRE
Hello I am JRE !
I am the collection of set libraries and
different tools
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Features of JAVA
13
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Figure 6: Features of Java [1]
JVM Architecture…
• Heap: Heap is a part of JVM memory
where objects are allocated. JVM
creates a Class object for each .class
file.
• Stack: it is used for storing temporary
variables.
14
• The class loader reads the .class file
and save the byte code in
the method area.
• Method Area: There is only one
method area in a JVM which is
shared among all the classes. This
holds the class level information of
each .class file.
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
Figure 7: JVM Architecture [2]
PC Registers: This keeps the track of which instruction has been executed
and which one is going to be executed. Since instructions are executed by
threads, each thread has a separate PC register.
Native Method stack: A native method can access the runtime data
areas of the virtual machine.
Native Method interface: It enables java code to call or be called by native
applications. Native applications are programs that are specific to the
hardware and OS of a system.
Garbage collection: A class instance is explicitly created by the java code
and after use it is automatically destroyed by garbage collection for memory
management.
JVM Architecture
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
[1] https://www.javatpoint.com
[2] https://www.santhoshreddymandadi.com
References
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057
Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - info@isquareit.edu.in
THANK YOU
For further information please contact
Prof. Shilpa Jadhao
Department of Computer Engineering
Hope Foundation’s International Institute of Information Technology, I²IT
Hinjawadi, Pune – 411 057
Phone - +91 20 22933441
www.isquareit.edu.in | shilpaj@isquareit.edu.in
17

More Related Content

PPTX
Euler’s Theorem Homogeneous Function Of Two Variables
PPTX
What are the real differences between a wireframe, storyboard and a prototype?
PDF
Basic Mechanical Engineering | Manufacturing Processes
PPTX
Cloud Computing & Virtual Infrastructure
Euler’s Theorem Homogeneous Function Of Two Variables
What are the real differences between a wireframe, storyboard and a prototype?
Basic Mechanical Engineering | Manufacturing Processes
Cloud Computing & Virtual Infrastructure

What's hot (20)

PPTX
Adapter Pattern: Introduction & Implementation (with examples)
PPTX
Engineering Mathematics | Maxima and Minima
PPTX
Superstructure and it's various components
PPTX
PPTX
PIC Microcontroller | ADC Interfacing
PDF
PPTX
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
PPTX
PPTX
Introduction To Assembly Language Programming
PPTX
Conformal Mapping - Introduction & Examples
PPTX
Introduction to Big Data, HADOOP: HDFS, MapReduce
PPTX
Usability Heuristics - Principles & Examples
PPTX
Artificial Intelligence - Introduction
PPTX
Human Computer Interaction - INPUT OUTPUT CHANNELS
PPTX
Differential Equation - Order Degree
Adapter Pattern: Introduction & Implementation (with examples)
Engineering Mathematics | Maxima and Minima
Superstructure and it's various components
PIC Microcontroller | ADC Interfacing
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
Introduction To Assembly Language Programming
Conformal Mapping - Introduction & Examples
Introduction to Big Data, HADOOP: HDFS, MapReduce
Usability Heuristics - Principles & Examples
Artificial Intelligence - Introduction
Human Computer Interaction - INPUT OUTPUT CHANNELS
Differential Equation - Order Degree
Ad

Similar to Java as Object Oriented Programming Language (20)

PDF
Unit 1 part 1 introduction to java
PPT
devops dtail education and devops ools which r used
PPTX
DAA Introduction to Algorithms & Application
PDF
Java - OOPS and Java Basics
DOCX
Core Java Training report
PPT
DevOps Industry Perspective Mr Pradip Ashok Chougule
PPTX
What Is Jenkins? Features and How It Works
PPTX
Supervised Learning in Cybersecurity
PDF
Java Training in Chandigarh.pdf
PDF
Java Training in Chandigarh
DOCX
TarunSharma_CV
PPTX
Build Your Career with help of Java.pptx
PPTX
A beginner's guide for Java.pptx
PPTX
Mukesh-More- Final-cloud-computing.pptx
PPT
Introduction of Java Programming.ppt
PPTX
State Pattern: Introduction & Implementation
PPTX
PDF
Resume generator2
PDF
Introduction to java
PDF
RESUME_RAVI
Unit 1 part 1 introduction to java
devops dtail education and devops ools which r used
DAA Introduction to Algorithms & Application
Java - OOPS and Java Basics
Core Java Training report
DevOps Industry Perspective Mr Pradip Ashok Chougule
What Is Jenkins? Features and How It Works
Supervised Learning in Cybersecurity
Java Training in Chandigarh.pdf
Java Training in Chandigarh
TarunSharma_CV
Build Your Career with help of Java.pptx
A beginner's guide for Java.pptx
Mukesh-More- Final-cloud-computing.pptx
Introduction of Java Programming.ppt
State Pattern: Introduction & Implementation
Resume generator2
Introduction to java
RESUME_RAVI
Ad

More from International Institute of Information Technology (I²IT) (20)

PPTX
Understanding Natural Language Processing
PPTX
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
PPTX
Writing Skills: Importance of Writing Skills
PPTX
Professional Communication | Introducing Oneself
PPTX
PPTX
Data Science, Big Data, Data Analytics
PPTX
Sentiment Analysis in Machine Learning
PPT
Importance of Theory of Computations
PPTX
PPTX
Data Visualization - How to connect Microsoft Forms to Power BI
PPTX
Yoga To Fight & Win Against COVID-19
PPTX
Land Pollution - Causes, Effects & Solution
Understanding Natural Language Processing
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
Writing Skills: Importance of Writing Skills
Professional Communication | Introducing Oneself
Data Science, Big Data, Data Analytics
Sentiment Analysis in Machine Learning
Importance of Theory of Computations
Data Visualization - How to connect Microsoft Forms to Power BI
Yoga To Fight & Win Against COVID-19
Land Pollution - Causes, Effects & Solution

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
Teaching material agriculture food technology
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
KodekX | Application Modernization Development
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Cloud computing and distributed systems.
PPTX
Big Data Technologies - Introduction.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
20250228 LYD VKU AI Blended-Learning.pptx
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
madgavkar20181017ppt McKinsey Presentation.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Teaching material agriculture food technology
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
KodekX | Application Modernization Development
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Dropbox Q2 2025 Financial Results & Investor Presentation
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Spectral efficient network and resource selection model in 5G networks
NewMind AI Weekly Chronicles - August'25 Week I
Understanding_Digital_Forensics_Presentation.pptx
Cloud computing and distributed systems.
Big Data Technologies - Introduction.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf

Java as Object Oriented Programming Language

  • 1. 1 HOPE FOUNDATION’S INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY, (I²IT) www.isquareit.edu.in +91 20 22933441 / 2
  • 2. Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected] 2 Java as Object Oriented Programming Language- Overview - Ms. Shilpa Jadhao
  • 3. History of JAVA Language… • Java language developed by company Sun Microsystems and the creator is James Gosling.(sun->Stanford university network) • Group of 4 students at Stanford university • Problem : create one remote control which can access all electronics appliances. • Contacted James, given name Green, launched in 1992. • Vinod Ghosala was one of them 4 (Indian) • Based on concept of remote, decided to have platform independent language.. Developed language OAK then renamed it as JAVA. Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 4. • Oak is a symbol of strength and chosen as a national tree of many countries like U.S.A., France, Germany, Romania etc. In 1995, Oak was renamed as "Java" because it was already a trademark by Oak Technologies. • The suggested names for the languages were "dynamic", "revolutionary", "Silk", "jolt", "DNA" “JAVA”etc. • Java is an island of Indonesia where first coffee was produced (called java coffee). • In 1995, Time magazine called Java one of the Ten Best Products of 1995. • JDK 1.0 released in(January 23, 1996). • SUN microsystems is now (2010)acquired by Oracle. • Punch line of JAVA : JAVA is everywhere! "Write once, run anywhere" (WORA) "write once, run everywhere" (WORE) Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected] History of JAVA Language
  • 5. Versions of Java 1. Java SE ( core java) standard edition 2. Java EE (enterprise edition ) advanced 3. Java ME(micro edition for mobiles ) but now android is used , java used in android. • And many more. • Base is java SE 5 Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 6. Introduction to JDK JRE JVM • Do your computer understands high level language? • Compiler and Interpreter • The Compiler of java called as javac converts source code into a Intermediate file known as Bytecode file. • The Bytecode file is unique for all types of OS. • The Interpreter of java (java) converts Bytecode into the specific OS compatible machine code . This code will vary according to OS. 6 Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 7. Write source code Compilation done by JavaC (compiler) JDK (java development kit) I/p O/p Bytecode I/p JVM (Java Virtual Machine) = interpreter Final O/p Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected] Figure 1: Program execution flow in Java
  • 8. •Java Runtime Environment(JRE) :- is part of the Java Development Kit (JDK). It contains a set of libraries and tools for developing Java application. •Java Virtual Machine (JVM) JVM is set of programs developed by sun Micro System and supplied as a part of the JDK for reading line by line line of byte code and it converts into a native understanding form of operating system. JRE and JVM Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 9. Figure 2: Java Runtime Environment (JRE)[1] Figure 3: Java Development Kit (JDK)[1] Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 10. Linking in C 10 Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected] Figure 4: Linking in C programming
  • 11. Linking in Java 11 Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected] Figure 5: Linking in Java programming
  • 12. Hello I am JVM ! I Provide runtime environment to execute bytecode. Hello I am JDK ! I am physically exists and contains Java tools, JVM, JRE Hello I am JRE ! I am the collection of set libraries and different tools Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 13. Features of JAVA 13 Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected] Figure 6: Features of Java [1]
  • 14. JVM Architecture… • Heap: Heap is a part of JVM memory where objects are allocated. JVM creates a Class object for each .class file. • Stack: it is used for storing temporary variables. 14 • The class loader reads the .class file and save the byte code in the method area. • Method Area: There is only one method area in a JVM which is shared among all the classes. This holds the class level information of each .class file. Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected] Figure 7: JVM Architecture [2]
  • 15. PC Registers: This keeps the track of which instruction has been executed and which one is going to be executed. Since instructions are executed by threads, each thread has a separate PC register. Native Method stack: A native method can access the runtime data areas of the virtual machine. Native Method interface: It enables java code to call or be called by native applications. Native applications are programs that are specific to the hardware and OS of a system. Garbage collection: A class instance is explicitly created by the java code and after use it is automatically destroyed by garbage collection for memory management. JVM Architecture Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 16. [1] https://www.javatpoint.com [2] https://www.santhoshreddymandadi.com References Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, Pune - 411 057 Tel - +91 20 22933441 / 2 / 3 | Website - www.isquareit.edu.in ; Email - [email protected]
  • 17. THANK YOU For further information please contact Prof. Shilpa Jadhao Department of Computer Engineering Hope Foundation’s International Institute of Information Technology, I²IT Hinjawadi, Pune – 411 057 Phone - +91 20 22933441 www.isquareit.edu.in | [email protected] 17