SlideShare a Scribd company logo
“It is far easier to design a class
to be thread-safe than to retrofit
it for thread safety later.”
-Brian Goetz
Submitted By - William john
Course - B.E.Computer
science (v sem )
Contains
• What is Java
• Aplications of Java
• Features of Java
• JDK,JRE,JVM
What is Java
• Java is a programming language and a platform.
• Java is a high level, robust, object-oriented and secure programming language.
• James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June
1991. The small team of sun engineers called Green Team.
Example :-
public class Simple{
public static void main(String args[]){
System.out.println("hello java");
}}
Output : hello java
Features of Java
Simple –
Java is very easy to learn, and its syntax is simple, clean and easy to understand.
According to Sun, Java language is a simple programming language because:
Java syntax is based on C++ (so easier for programmers to learn it after C++).
Java has removed many complicated and rarely-used features, for example,
explicit pointers, operator overloading, etc
Object-oriented –
Java is an object-oriented programming language. Everything in Java is an
object. Object-oriented means we organize
our software as a combination of different types of objects that incorporates
both data and behavior.
Platform Independent –
Java is platform independent because it is different from other languages
like C, C++, etc. which are compiled into platform specific machines while Java is
a write once, run anywhere language.
Secured –
Java is best known for its security. With Java, we can develop virus-free
systems. Java is secured because:
No explicit pointer
Java Programs run inside a virtual machine sandbox
Robust –
Robust simply means strong. Java is robust because:
• It uses strong memory management.
• There is a lack of pointers that avoids security problems.
• There is automatic garbage collection in java which runs on the Java
Virtual Machine to get rid of objects which are not being used by a Java
application anymore.
Architecture-neutral –
Java is architecture neutral because there are no implementation dependent
features, for example, the 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. However, it occupies
4 bytes of memory for both 32 and 64-bit architectures in Java.
Portable –
Java is portable because it facilitates you to carry the Java bytecode to any
platform. It doesn't require any implementation.
High-performance –
Java is faster than other traditional interpreted programming languages because
Java bytecode is "close" to native code. It is still a little bit slower than a
compiled language (e.g., C++). Java is an interpreted language that is why it is
slower than compiled languages, e.g., C, C++, etc.
Multi-threaded –
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.
Dynamic –
Java is a dynamic language. It supports dynamic loading of classes. It means
classes are loaded on demand. It also supports functions from its native
languages, i.e., C and C++.
Java supports dynamic compilation and automatic memory management
(garbage collection).
JavaVirtualMachine
JVM (Java Virtual Machine) is an abstract machine. It is called a virtual machine because it
doesn't physically exist. It is a specification that provides a runtime environment in which Java
bytecode can be executed. It can also run those programs which are written in other languages
and compiled to Java bytecode
The JVM performs following operation:
Loads code
Verifies code
Executes code
Provides runtime environment
Presentation on java
JavaRuntimeEnviroment
The Java Runtime Environment is a set of software tools which are used for developing Java
applications. It is used to provide the runtime environment. It is the implementation of JVM. It
physically exists. It contains a set of libraries + other files that JVM uses at runtime.
Java Development Kit
The Java Development Kit (JDK) is a software development environment which is used to
develop Java applications and applets. It physically exists. It contains JRE + development tools.
JDK is an implementation of any one of the below given Java Platforms released by Oracle
Corporation:
Standard Edition Java Platform
Enterprise Edition Java Platform
Micro Edition Java Platform
Resources
JavaTPoint.com
Presentation on java

More Related Content

What's hot (20)

PPTX
Introduction to python for Beginners
Sujith Kumar
 
ODP
20120314 changa-python-workshop
amptiny
 
PPTX
Introduction to python
Jaya Kumari
 
PDF
Introduction to python
Learnbay Datascience
 
PPTX
Python - An Introduction
Swarit Wadhe
 
PDF
summer training report on python
Shubham Yadav
 
PPT
Introduction to phython programming
ASIT Education
 
PDF
Python quick guide1
Kanchilug
 
PDF
Research paper on python by Rj
Shree M.L.Kakadiya MCA mahila college, Amreli
 
PPTX
Python
onlinetraining3
 
PDF
Learning Python with PyCharm EDU
Sergey Aganezov
 
PPTX
Python programming
Megha V
 
PPT
Python and data analytics
Shree M.L.Kakadiya MCA mahila college, Amreli
 
PPT
Python Programming ppt
ismailmrribi
 
PPTX
Introduction to python
AnirudhaGaikwad4
 
PDF
Introduction to python
Agung Wahyudi
 
PDF
Why learn python in 2017?
Karolis Ramanauskas
 
Introduction to python for Beginners
Sujith Kumar
 
20120314 changa-python-workshop
amptiny
 
Introduction to python
Jaya Kumari
 
Introduction to python
Learnbay Datascience
 
Python - An Introduction
Swarit Wadhe
 
summer training report on python
Shubham Yadav
 
Introduction to phython programming
ASIT Education
 
Python quick guide1
Kanchilug
 
Research paper on python by Rj
Shree M.L.Kakadiya MCA mahila college, Amreli
 
Learning Python with PyCharm EDU
Sergey Aganezov
 
Python programming
Megha V
 
Python Programming ppt
ismailmrribi
 
Introduction to python
AnirudhaGaikwad4
 
Introduction to python
Agung Wahyudi
 
Why learn python in 2017?
Karolis Ramanauskas
 

Similar to Presentation on java (20)

PPTX
Chapter 1 (1).pptx
krishnashah277578
 
PPTX
Getting Started with JAVA
ShivamPathak318367
 
DOCX
Java and its features
Pydi Nikhil
 
PPTX
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
PDF
Java chapter 1
Mukesh Tekwani
 
PPTX
Unit1 introduction to Java
DevaKumari Vijay
 
PDF
Java Basic.pdf
TechSearchWeb
 
PPS
Introduction to Java
Ankita Totala
 
PDF
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
PPTX
Chapter-1 Introduction.pptx
SumanBhandari40
 
PPTX
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
PPTX
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
PPTX
Features of Java.pptx
V.V.Vanniaperumal College for Women
 
PPT
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
PPTX
Java chapter 1 basic introduction Unit-1.pptx
noosdysharma
 
PPTX
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
PPTX
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
PPTX
Chapter 1 java
Ahmad sohail Kakar
 
PPTX
Java Programming
Elizabeth alexander
 
PPTX
features of JAVA.pptx
vishnupriyapm4
 
Chapter 1 (1).pptx
krishnashah277578
 
Getting Started with JAVA
ShivamPathak318367
 
Java and its features
Pydi Nikhil
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
Java chapter 1
Mukesh Tekwani
 
Unit1 introduction to Java
DevaKumari Vijay
 
Java Basic.pdf
TechSearchWeb
 
Introduction to Java
Ankita Totala
 
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
Chapter-1 Introduction.pptx
SumanBhandari40
 
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
Java chapter 1 basic introduction Unit-1.pptx
noosdysharma
 
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
Chapter 1 java
Ahmad sohail Kakar
 
Java Programming
Elizabeth alexander
 
features of JAVA.pptx
vishnupriyapm4
 
Ad

Recently uploaded (20)

PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PPTX
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PPTX
Introduction to Design of Machine Elements
PradeepKumarS27
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PPTX
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
Thermal runway and thermal stability.pptx
godow93766
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Day2 B2 Best.pptx
helenjenefa1
 
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Introduction to Design of Machine Elements
PradeepKumarS27
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
Ad

Presentation on java

  • 1. “It is far easier to design a class to be thread-safe than to retrofit it for thread safety later.” -Brian Goetz Submitted By - William john Course - B.E.Computer science (v sem )
  • 2. Contains • What is Java • Aplications of Java • Features of Java • JDK,JRE,JVM
  • 3. What is Java • Java is a programming language and a platform. • Java is a high level, robust, object-oriented and secure programming language. • James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. The small team of sun engineers called Green Team. Example :- public class Simple{ public static void main(String args[]){ System.out.println("hello java"); }} Output : hello java
  • 4. Features of Java Simple – Java is very easy to learn, and its syntax is simple, clean and easy to understand. According to Sun, Java language is a simple programming language because: Java syntax is based on C++ (so easier for programmers to learn it after C++). Java has removed many complicated and rarely-used features, for example, explicit pointers, operator overloading, etc Object-oriented – Java is an object-oriented programming language. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior.
  • 5. Platform Independent – Java is platform independent because it is different from other languages like C, C++, etc. which are compiled into platform specific machines while Java is a write once, run anywhere language. Secured – Java is best known for its security. With Java, we can develop virus-free systems. Java is secured because: No explicit pointer Java Programs run inside a virtual machine sandbox
  • 6. Robust – Robust simply means strong. Java is robust because: • It uses strong memory management. • There is a lack of pointers that avoids security problems. • There is automatic garbage collection in java which runs on the Java Virtual Machine to get rid of objects which are not being used by a Java application anymore. Architecture-neutral – Java is architecture neutral because there are no implementation dependent features, for example, the 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. However, it occupies 4 bytes of memory for both 32 and 64-bit architectures in Java.
  • 7. Portable – Java is portable because it facilitates you to carry the Java bytecode to any platform. It doesn't require any implementation. High-performance – Java is faster than other traditional interpreted programming languages because Java bytecode is "close" to native code. It is still a little bit slower than a compiled language (e.g., C++). Java is an interpreted language that is why it is slower than compiled languages, e.g., C, C++, etc.
  • 8. Multi-threaded – 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. Dynamic – Java is a dynamic language. It supports dynamic loading of classes. It means classes are loaded on demand. It also supports functions from its native languages, i.e., C and C++. Java supports dynamic compilation and automatic memory management (garbage collection).
  • 9. JavaVirtualMachine JVM (Java Virtual Machine) is an abstract machine. It is called a virtual machine because it doesn't physically exist. It is a specification that provides a runtime environment in which Java bytecode can be executed. It can also run those programs which are written in other languages and compiled to Java bytecode The JVM performs following operation: Loads code Verifies code Executes code Provides runtime environment
  • 11. JavaRuntimeEnviroment The Java Runtime Environment is a set of software tools which are used for developing Java applications. It is used to provide the runtime environment. It is the implementation of JVM. It physically exists. It contains a set of libraries + other files that JVM uses at runtime.
  • 12. Java Development Kit The Java Development Kit (JDK) is a software development environment which is used to develop Java applications and applets. It physically exists. It contains JRE + development tools. JDK is an implementation of any one of the below given Java Platforms released by Oracle Corporation: Standard Edition Java Platform Enterprise Edition Java Platform Micro Edition Java Platform