SlideShare a Scribd company logo
1 of 6
FEATURES
OF JAVA
There is given many features of java.
They are also known as java
buzzwords. The Java Features given
below are simple and easy to
understand.
http://www.javatraininginjaipur.online/
http://www.javatraininginjaipur.online/
– There is given many features of java. They are also known as java buzzwords.
The Java Features given below are simple and easy to understand.
– Simple
– Object-Oriented
– Portable
– Platform independent
– Secured
– Robust
– Architecture neutral
– Dynamic
– Interpreted
– High Performance
– Multithreaded
– Distributed
http://www.javatraininginjaipur.online/3
http://www.javatraininginjaipur.online/
– Simple
– According to Sun, Java language is simple because:
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.
http://www.javatraininginjaipur.online/
http://www.javatraininginjaipur.online/
– Object-oriented
– Object-oriented means we organize our software as a combination of different types of objects that
incorporates both data and behaviour.
Object-oriented programming(OOPs) is a methodology that simplify software development and
maintenance by providing some rules.
Basic concepts of OOPs are:
1. Object
2. Class
3. Inheritance
4. Polymorphism
5. Abstraction
6. Encapsulation
– Platform Independent
– A platform is the hardware or software environment in which a program runs.
– There are two types of platforms software-based and hardware-based. Java provides software-
based platform.
– The Java platform differs from most other platforms in the sense that it is a software-based platform
that runs on the top of other hardware-based platforms. It has two components:
1. Runtime Environment
2. API(Application Programming Interface)
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).
http://www.javatraininginjaipur.online/
– Secured
– Java is secured because:
– No explicit pointer
– Java Programs run inside virtual machine sandbox
Classloader: adds security by separating the package for the classes of the local file system from
those that are imported from network sources.
Bytecode Verifier: checks the code fragments for illegal code that can violate access right to
objects.
Security Manager: determines what resources a class can access such as reading and writing to
the local disk.
These security are provided by java language. Some security can also be provided by application
developer through SSL, JAAS, Cryptography etc.
http://www.javatraininginjaipur.online/
– Robust
– Robust simply means strong. Java uses strong memory management. There are lack of
pointers that avoids security problem. There is automatic garbage collection in java. There is
exception handling and type checking mechanism in java. All these points makes java robust.
– Architecture-neutral
– There is 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.
– 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++)
– Distributed
– We can create distributed applications in java. RMI and EJB are used for creating distributed
applications. We may access files by calling the methods from any machine on the internet.
– 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.
http://www.javatraininginjaipur.online/

More Related Content

What's hot

What's hot (20)

JAVA FEATURES
JAVA FEATURESJAVA FEATURES
JAVA FEATURES
 
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVMJava Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
 
Java byte code presentation
Java byte code presentationJava byte code presentation
Java byte code presentation
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
Advantages of java
Advantages of javaAdvantages of java
Advantages of java
 
Java architecture
Java architectureJava architecture
Java architecture
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
 
Architecture diagram of jvm
Architecture diagram of jvmArchitecture diagram of jvm
Architecture diagram of jvm
 
JRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAJRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVA
 
Java
JavaJava
Java
 
Features of java
Features of javaFeatures of java
Features of java
 
Java-java virtual machine
Java-java virtual machineJava-java virtual machine
Java-java virtual machine
 
Features of java 02
Features of java 02Features of java 02
Features of java 02
 
Java Virtual Machine - Internal Architecture
Java Virtual Machine - Internal ArchitectureJava Virtual Machine - Internal Architecture
Java Virtual Machine - Internal Architecture
 
JAVA Career
JAVA CareerJAVA Career
JAVA Career
 
Java
JavaJava
Java
 
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and JitQSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and Jit
 
1 Introduction To Java Technology
1 Introduction To Java Technology 1 Introduction To Java Technology
1 Introduction To Java Technology
 
Java introduction
Java introductionJava introduction
Java introduction
 

Similar to FEATURES OF JAVA

PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
Presentación rs232 java
Presentación rs232 javaPresentación rs232 java
Presentación rs232 java
John Rojas
 

Similar to FEATURES OF JAVA (20)

Java and its features
Java and its featuresJava and its features
Java and its features
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
Lecture - 1 introduction to java
Lecture - 1 introduction to javaLecture - 1 introduction to java
Lecture - 1 introduction to 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
 
Java unit 1
Java unit 1Java unit 1
Java unit 1
 
Presentation on java
Presentation on javaPresentation on java
Presentation on java
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
 
Getting Started with JAVA
Getting Started with JAVAGetting Started with JAVA
Getting Started with JAVA
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptxJAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
 
features of JAVA.pptx
features of JAVA.pptxfeatures of JAVA.pptx
features of JAVA.pptx
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
 
0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf
 
CORE JAVA
CORE JAVACORE JAVA
CORE JAVA
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
 
Presentación rs232 java
Presentación rs232 javaPresentación rs232 java
Presentación rs232 java
 

More from Rhythm Suiwal (6)

Java do-while Loop
Java do-while LoopJava do-while Loop
Java do-while Loop
 
JAVA SWITCH STATEMENT
JAVA SWITCH STATEMENTJAVA SWITCH STATEMENT
JAVA SWITCH STATEMENT
 
Operators in Java
Operators in JavaOperators in Java
Operators in Java
 
HOW TO SET PATH IN JAVA
HOW TO SET PATH IN JAVAHOW TO SET PATH IN JAVA
HOW TO SET PATH IN JAVA
 
HELLO JAVA PROGRAM
HELLO JAVA PROGRAMHELLO JAVA PROGRAM
HELLO JAVA PROGRAM
 
Introduction of jvm|Java Training In Jaipur | Java Training Jaipur | Java Tra...
Introduction of jvm|Java Training In Jaipur | Java Training Jaipur | Java Tra...Introduction of jvm|Java Training In Jaipur | Java Training Jaipur | Java Tra...
Introduction of jvm|Java Training In Jaipur | Java Training Jaipur | Java Tra...
 

Recently uploaded

Recently uploaded (20)

Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

FEATURES OF JAVA

  • 1. FEATURES OF JAVA There is given many features of java. They are also known as java buzzwords. The Java Features given below are simple and easy to understand. http://www.javatraininginjaipur.online/ http://www.javatraininginjaipur.online/
  • 2. – There is given many features of java. They are also known as java buzzwords. The Java Features given below are simple and easy to understand. – Simple – Object-Oriented – Portable – Platform independent – Secured – Robust – Architecture neutral – Dynamic – Interpreted – High Performance – Multithreaded – Distributed http://www.javatraininginjaipur.online/3 http://www.javatraininginjaipur.online/
  • 3. – Simple – According to Sun, Java language is simple because: 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. http://www.javatraininginjaipur.online/ http://www.javatraininginjaipur.online/
  • 4. – Object-oriented – Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behaviour. Object-oriented programming(OOPs) is a methodology that simplify software development and maintenance by providing some rules. Basic concepts of OOPs are: 1. Object 2. Class 3. Inheritance 4. Polymorphism 5. Abstraction 6. Encapsulation – Platform Independent – A platform is the hardware or software environment in which a program runs. – There are two types of platforms software-based and hardware-based. Java provides software- based platform. – The Java platform differs from most other platforms in the sense that it is a software-based platform that runs on the top of other hardware-based platforms. It has two components: 1. Runtime Environment 2. API(Application Programming Interface) 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). http://www.javatraininginjaipur.online/
  • 5. – Secured – Java is secured because: – No explicit pointer – Java Programs run inside virtual machine sandbox Classloader: adds security by separating the package for the classes of the local file system from those that are imported from network sources. Bytecode Verifier: checks the code fragments for illegal code that can violate access right to objects. Security Manager: determines what resources a class can access such as reading and writing to the local disk. These security are provided by java language. Some security can also be provided by application developer through SSL, JAAS, Cryptography etc. http://www.javatraininginjaipur.online/
  • 6. – Robust – Robust simply means strong. Java uses strong memory management. There are lack of pointers that avoids security problem. There is automatic garbage collection in java. There is exception handling and type checking mechanism in java. All these points makes java robust. – Architecture-neutral – There is 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. – 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++) – Distributed – We can create distributed applications in java. RMI and EJB are used for creating distributed applications. We may access files by calling the methods from any machine on the internet. – 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. http://www.javatraininginjaipur.online/