SlideShare a Scribd company logo
1 of 24
SRI KRISHNA COLLEGE OF ENGINEERING AND TECHNOLOGY
Kuniamuthur, Coimbatore, Tamilnadu, India
An Autonomous Institution, Affiliated to Anna University,
Accredited by NAAC with “A” Grade & Accredited by NBA (CSE, ECE, IT, MECH ,EEE, CIVIL& MCT)
Course :FUNDAMENTALS OF JAVA PROGRAMMING
Module 1 :JAVA BASICS
Topic : HISTORY OF JAVA,JAVA BUZZWORDS,JVM
Faculty : Dr.RESHMA V.K
Associate Professor/CSE
SKCET
www.skcet.ac.in
Objectives
• History of Java
• Java platform overview
• Java ecosystem (JDK- JVM & JRE)
• Application Types
• Naming Conventions
• Java Features
• Benefits of Java
JAVA
• Java is a programming language and a platform.
• Java is a high level, robust, secured and object-oriented
programming language.
• Platform:Any hardware or software environment in
which a program runs, is known as a platform.Java has
its own runtime environment (JRE) and API.it is called as
platform.
History
• James Gosling, Mike Sheridan, and Patrick Naughton
initiated the Java language project in June 1991.
• Firstly, it was called "Greentalk" by James Gosling and
file extension was .gt.
• After that, it was called Oak and was developed as a
part of the Green project.
Where it is used?
How JAVA is different from C?
How JAVA is different from C++?
How JAVA is different from
C++?
How JAVA is different from C++?
How JAVA is different from C++?
•JVM
–Java Interpreter + Just-In-Time Compiler
–JVM (Java Virtual Machine) is an abstract machine. It is a specification that
provides runtime environment in which java byte code can be executed.
–JVMs are available for many hardware and software platforms. It is the code
execution component of the Java platform.
–It is a Runtime Instance Whenever you write java command on the command
prompt to run the java class, an instance of JVM is created.
•Note:
–JVM, JRE and JDK are platform dependent because configuration of each OS
differs. But, Java is platform independent.
JVM ARCHITECTURE
JVM
The JVM performs following operation:
• Loads code
• Verifies code
• Executes code
• Provides runtime environment
JVM provides definitions for the:
• Memory area
• Class file format
• Register set
• Garbage-collected heap
• Fatal error reporting etc.
JAVA Features
- Simple
- Object-Oriented
- Portable
- Platform Independent
- Secured
- Robust
- Architecture Neutral
- Dynamic
- Interpreted
- High Performance
- Multithreaded
- Distributed
Courtesy : https://www.youtube.com/bardlearning
JAVA Features
• Simple
- Syntax is based on C++ (So easier for programmers to
learn it after C++).
- Removed many confusing and/or rarely-used features
e.g., explicit pointers,
operator overloading etc.
- No need to remove unreferenced objects because there
is Automatic Garbage Collection in java.
JAVA Features
Object-Oriented:-
- Object-oriented programming(OOPs) is a methodology
that simplify software development and maintenance by
providing some rules.
Basic concepts of OOPs are:-
- Object
- Class
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
JAVA Features
Platform Independent:-
- Java code can be run on
multiple platforms.
- e.g. Windows, Linux,
Sun Solaris, Mac/OS etc.
- Java code is compiled by the
Compiler and Converted into
bytecode.
- This bytecode is a platform independent
code because it can be run on multiple platforms
- i.e. Write Once and Run Anywhere(WORA).
JAVA Features
• Secured
- Java is Secured because:
- No Explicit Pointer
- Java program run inside
Virtual Machine Sandbox
When you run an application inside a sandbox, it continues to have access to everything that it
would were it not sandboxed. The primary difference is that anything created or changed by the
sandboxed application is:
● Not visible outside of the sandbox; other applications don’t see it.
● Not saved when the sandboxed application exits.
JAVA Features
• Robust(All Above Points Makes JAVA Robust)
- Robust simply means Strong.
- Java uses strong Memory Management.
- There are Automatic Garbage Collection in JAVA.
-There is Exception Handling and Type Checking Mechanism
in JAVA.
• Architecture-Neutral
- There are No implementation Dependent Features
- e.g. size of primitive types is fixed.
- In C programming, int Data Type occupies 2 Bytes of
Memory for 32-bit Architecture and 4 Bytes of Memory for
64-bit Architecture. But in java, it occupies 4 Bytes of
Memory for Both 32 and 64 bit Architectures.
JAVA Features
• Portable:-
- We may carry the JAVA Bytecode to Any Platform.
• High-Performance:-
- Java is faster than traditional interpretation since byte
code is "close" to native code still somewhat slower than a
compiled language (e.g., C++)
JAVA Features
• Multithreaded
- A Thread is like a Separate Program, executing Concurrently.
- We can write Java programs that Deal with many Tasks at once
by defining Multiple Threads.
- The main Advantage of Multi-Threading is that it doesn't occupy
memory for each thread.
- It shares a Common Memory Area.
- Threads are important for Multi-Media,Web applications etc.
• Distributed
- We can create Distributed Applications in Java.
- RMI(Remote Method Invocation) and EJB(Enterprise JavaBeans)
are used for creating Distributed Applications.
- Can access files by calling the methods from any machine on the
Internet.
Summary
• Java Evolution trend
• Java environment and its significance
• Java Features
• Benefits of Java

More Related Content

Similar to JAVA-History-buzzwords-JVM_architecture.pptx

Similar to JAVA-History-buzzwords-JVM_architecture.pptx (20)

Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Getting Started with JAVA
Getting Started with JAVAGetting Started with JAVA
Getting Started with JAVA
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.
 
unit1.pptx
unit1.pptxunit1.pptx
unit1.pptx
 
Java Basics
Java BasicsJava Basics
Java Basics
 
FEATURES OF JAVA
FEATURES OF JAVAFEATURES OF JAVA
FEATURES OF JAVA
 
Presentation on java
Presentation on javaPresentation on java
Presentation on java
 
Java unit1 a- History of Java to string
Java unit1 a- History of Java to stringJava unit1 a- History of Java to string
Java unit1 a- History of Java to string
 
1 java introduction
1 java introduction1 java introduction
1 java introduction
 
1 java intro
1 java intro1 java intro
1 java intro
 
Java programming and security
Java programming and securityJava programming and security
Java programming and security
 
01-Introduction.ppt
01-Introduction.ppt01-Introduction.ppt
01-Introduction.ppt
 
Java
JavaJava
Java
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
CS8392 OOP
CS8392 OOPCS8392 OOP
CS8392 OOP
 
oop unit1.pptx
oop unit1.pptxoop unit1.pptx
oop unit1.pptx
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 
Java fundamentals
Java fundamentalsJava fundamentals
Java fundamentals
 
1.Intro--Why Java.pptx
1.Intro--Why Java.pptx1.Intro--Why Java.pptx
1.Intro--Why Java.pptx
 

Recently uploaded

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 

Recently uploaded (20)

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 

JAVA-History-buzzwords-JVM_architecture.pptx

  • 1. SRI KRISHNA COLLEGE OF ENGINEERING AND TECHNOLOGY Kuniamuthur, Coimbatore, Tamilnadu, India An Autonomous Institution, Affiliated to Anna University, Accredited by NAAC with “A” Grade & Accredited by NBA (CSE, ECE, IT, MECH ,EEE, CIVIL& MCT) Course :FUNDAMENTALS OF JAVA PROGRAMMING Module 1 :JAVA BASICS Topic : HISTORY OF JAVA,JAVA BUZZWORDS,JVM Faculty : Dr.RESHMA V.K Associate Professor/CSE SKCET www.skcet.ac.in
  • 2. Objectives • History of Java • Java platform overview • Java ecosystem (JDK- JVM & JRE) • Application Types • Naming Conventions • Java Features • Benefits of Java
  • 3. JAVA • Java is a programming language and a platform. • Java is a high level, robust, secured and object-oriented programming language. • Platform:Any hardware or software environment in which a program runs, is known as a platform.Java has its own runtime environment (JRE) and API.it is called as platform.
  • 4. History • James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. • Firstly, it was called "Greentalk" by James Gosling and file extension was .gt. • After that, it was called Oak and was developed as a part of the Green project.
  • 5. Where it is used?
  • 6. How JAVA is different from C?
  • 7. How JAVA is different from C++?
  • 8. How JAVA is different from C++?
  • 9. How JAVA is different from C++?
  • 10. How JAVA is different from C++?
  • 11. •JVM –Java Interpreter + Just-In-Time Compiler –JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java byte code can be executed. –JVMs are available for many hardware and software platforms. It is the code execution component of the Java platform. –It is a Runtime Instance Whenever you write java command on the command prompt to run the java class, an instance of JVM is created. •Note: –JVM, JRE and JDK are platform dependent because configuration of each OS differs. But, Java is platform independent. JVM ARCHITECTURE
  • 12. JVM The JVM performs following operation: • Loads code • Verifies code • Executes code • Provides runtime environment JVM provides definitions for the: • Memory area • Class file format • Register set • Garbage-collected heap • Fatal error reporting etc.
  • 13.
  • 14.
  • 15.
  • 16. JAVA Features - Simple - Object-Oriented - Portable - Platform Independent - Secured - Robust - Architecture Neutral - Dynamic - Interpreted - High Performance - Multithreaded - Distributed Courtesy : https://www.youtube.com/bardlearning
  • 17. JAVA Features • Simple - Syntax is based on C++ (So easier for programmers to learn it after C++). - Removed many confusing and/or rarely-used features e.g., explicit pointers, operator overloading etc. - No need to remove unreferenced objects because there is Automatic Garbage Collection in java.
  • 18. JAVA Features Object-Oriented:- - Object-oriented programming(OOPs) is a methodology that simplify software development and maintenance by providing some rules. Basic concepts of OOPs are:- - Object - Class - Inheritance - Polymorphism - Abstraction - Encapsulation
  • 19. JAVA Features Platform Independent:- - Java code can be run on multiple platforms. - e.g. Windows, Linux, Sun Solaris, Mac/OS etc. - Java code is compiled by the Compiler and Converted into bytecode. - This bytecode is a platform independent code because it can be run on multiple platforms - i.e. Write Once and Run Anywhere(WORA).
  • 20. JAVA Features • Secured - Java is Secured because: - No Explicit Pointer - Java program run inside Virtual Machine Sandbox When you run an application inside a sandbox, it continues to have access to everything that it would were it not sandboxed. The primary difference is that anything created or changed by the sandboxed application is: ● Not visible outside of the sandbox; other applications don’t see it. ● Not saved when the sandboxed application exits.
  • 21. JAVA Features • Robust(All Above Points Makes JAVA Robust) - Robust simply means Strong. - Java uses strong Memory Management. - There are Automatic Garbage Collection in JAVA. -There is Exception Handling and Type Checking Mechanism in JAVA. • Architecture-Neutral - There are No implementation Dependent Features - e.g. size of primitive types is fixed. - In C programming, int Data Type occupies 2 Bytes of Memory for 32-bit Architecture and 4 Bytes of Memory for 64-bit Architecture. But in java, it occupies 4 Bytes of Memory for Both 32 and 64 bit Architectures.
  • 22. JAVA Features • Portable:- - We may carry the JAVA Bytecode to Any Platform. • High-Performance:- - Java is faster than traditional interpretation since byte code is "close" to native code still somewhat slower than a compiled language (e.g., C++)
  • 23. JAVA Features • Multithreaded - A Thread is like a Separate Program, executing Concurrently. - We can write Java programs that Deal with many Tasks at once by defining Multiple Threads. - The main Advantage of Multi-Threading is that it doesn't occupy memory for each thread. - It shares a Common Memory Area. - Threads are important for Multi-Media,Web applications etc. • Distributed - We can create Distributed Applications in Java. - RMI(Remote Method Invocation) and EJB(Enterprise JavaBeans) are used for creating Distributed Applications. - Can access files by calling the methods from any machine on the Internet.
  • 24. Summary • Java Evolution trend • Java environment and its significance • Java Features • Benefits of Java