SlideShare a Scribd company logo
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

Introduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristicsIntroduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
Getting Started with JAVA
Getting Started with JAVAGetting Started with JAVA
Getting Started with JAVA
ShivamPathak318367
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.
Bhautik Jethva
 
unit1.pptx
unit1.pptxunit1.pptx
unit1.pptx
PrasadKalal4
 
Java Basics
Java BasicsJava Basics
Java Basics
Fahad Shahzad
 
FEATURES OF JAVA
FEATURES OF JAVAFEATURES OF JAVA
FEATURES OF JAVA
Rhythm Suiwal
 
Presentation on java
Presentation on javaPresentation on java
Presentation on java
william john
 
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
SivaSankari36
 
1 java introduction
1 java introduction1 java introduction
1 java introduction
abdullah al mahamud rosi
 
1 java intro
1 java intro1 java intro
Java programming and security
Java programming and securityJava programming and security
Java programming and security
UmeshchandraYadav5
 
01-Introduction.ppt
01-Introduction.ppt01-Introduction.ppt
01-Introduction.ppt
EmanAsem4
 
Java
JavaJava
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
RajeshSukte1
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
CS8392 OOP
CS8392 OOPCS8392 OOP
oop unit1.pptx
oop unit1.pptxoop unit1.pptx
oop unit1.pptx
sureshkumara29
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Java fundamentals
Java fundamentalsJava fundamentals
Java fundamentals
Om Ganesh
 

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

Introduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristicsIntroduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristics
 
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
 

Recently uploaded

sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
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
 
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
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
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
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
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
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
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
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
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
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 

Recently uploaded (20)

sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
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...
 
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
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
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
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
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
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
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
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
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
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 

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