SlideShare uma empresa Scribd logo
1 de 14
Prepared by: Assi. Professor Sejal Jadav
Q-Java Features
1. Simple
2. Secure
3. Portable
4. Object-oriented
5. Robust
6. Multithreaded
7. Architecture-natural
8. Interpreted
9. High performance
10. Distributed
11. Dynamic
1.Simple
• Java was designed to be easy for the professional programmer to
learn and use effectively.
• Assuming that you have some programming experience, you will
not find java hard to master. (just basic experience)
• If you already understand the basic concepts of object oriented
programming,(OOP) learning java will be even easier.
2. Security
• Security is the benefit of java.
• Java system not only verifies all memory access but also
ensure that no viruses are communicated with an applet.
3. Object-Oriented
• Java is a true object oriented language.
• All program code and data reside within object and classes.
• The object model in java is simple and easy to extend.
3. Portable
• The most significant contribution of java over other
language is its portability.
• Java programs can be easily moved from one computer
system to another.
 Java ensures portability in two ways:
1. Java compiler generates byte code instruction that can be
implemented on any machine.
2. The size of the primitive data types is machine-
independent.
4. Robust(healthy, strong)
• The multi-platform environment of the Web places extraordinary
demands on a program,
because the program must execute reliably in a variety of systems.
• Thus, the ability to create robust programs was given a high
priority in the design of java.
• To gain reliability, java has strict compile time and run time
checking for codes.
• To better understand how java is robust, consider two main
reasons for program failure: 1) memory management mistakes
and 2) mishandled exceptional conditions.
1. Memory management can be a difficult, tedious task in
traditional programming environments.
• For example, in C/C++, the programmer must manually allocate
and free all dynamic memory.
• This sometimes leads to problems, because programmers will
either forget to free memory that has been previously allocated
or try to free some memory that another part of their code is
still using.
• Java virtually eliminates these problems by managing memory
allocation and deallocation for you.
2. mishandled exceptional conditions
• Exceptional conditions in traditional environments often
arise in situations such as division by zero or “file not
found” and they must be managed with awkward and hard
to read constructs.
• Java helps in this area by providing object oriented
exception handling.
• In a well-written java program, all run-time errors can and
should be managed by your program.
5. Multi-threaded
• Thread is single unit of process.
• Java was designed to meet the real-world requirement of
creating interactive, networked programs.
• To accomplish this, java supports multi-threaded programming,
which allows you to write programs that do many things
simultaneously.
• The java run-time system comes with an elegant yet
sophisticated solution for multi-process synchronization that
enables you to construct smoothly running interactive systems.
• Example: Facebook contacts
6. Architecture-Neutral
• A central issue of java programmers was that code longevity
and portability.
• One of the main problems facing programmers is that no
guarantee exists that if you write a program today, it will run
tomorrow- even on the same machine.
• Operating system upgrades, and changes in core system
resources can combine to make a program malfunction.
• The java designer made several hard decisions in the java
language and the java virtual machine (JVM) in an attempt to
alter this situation.
• Their goal was “write once; run anywhere, any time, forever.”
7. Interpreted
• Usually a computer language is either compiled or
interpreted. Java combines these approaches thus making
java a two-stage system.
• Java compiler translates source code into byte code
instructions.
• Byte codes are not machine instructions and so java
interpreter generates machine code that can be directly
executed by the machine that is running the java program.
• We can thus say that java is both a compiled and an
interpreted language.
8. High Performance
• Java performance is impressive for an interpreted language,
mainly due to the use of intermediate byte code.
• Distributed
• Java is designed for the distributed environment of the
Internet, because it handles TCP/IP protocols.
• Java also supports Remote Method Invocation (RMI). This
feature enables a program to invoke methods across a
network.
9. Dynamic
• Java is capable of dynamically linking in new class
libraries, methods and object.
• Java can also determine the type of class through a query,
making it possible to either dynamically
java Features

Mais conteúdo relacionado

Mais procurados

Java exception handling
Java exception handlingJava exception handling
Java exception handling
BHUVIJAYAVELU
 
String and string buffer
String and string bufferString and string buffer
String and string buffer
kamal kotecha
 
Inheritance in java
Inheritance in javaInheritance in java
Inheritance in java
Tech_MX
 

Mais procurados (20)

Java Streams
Java StreamsJava Streams
Java Streams
 
java interface and packages
java interface and packagesjava interface and packages
java interface and packages
 
Java exception handling
Java exception handlingJava exception handling
Java exception handling
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
 
String and string buffer
String and string bufferString and string buffer
String and string buffer
 
Multithreading in java
Multithreading in javaMultithreading in java
Multithreading in java
 
Constructor in java
Constructor in javaConstructor in java
Constructor in java
 
Exception Handling
Exception HandlingException Handling
Exception Handling
 
Operators in java
Operators in javaOperators in java
Operators in java
 
Java IO
Java IOJava IO
Java IO
 
Exception handling
Exception handlingException handling
Exception handling
 
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 package
Java packageJava package
Java package
 
MULTI THREADING IN JAVA
MULTI THREADING IN JAVAMULTI THREADING IN JAVA
MULTI THREADING IN JAVA
 
Packages in java
Packages in javaPackages in java
Packages in java
 
Autoboxing and unboxing
Autoboxing and unboxingAutoboxing and unboxing
Autoboxing and unboxing
 
Java exception handling ppt
Java exception handling pptJava exception handling ppt
Java exception handling ppt
 
The Evolution of Java
The Evolution of JavaThe Evolution of Java
The Evolution of Java
 
Constructor in java
Constructor in javaConstructor in java
Constructor in java
 
Inheritance in java
Inheritance in javaInheritance in java
Inheritance in java
 

Semelhante a java Features

1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
10322210023
 

Semelhante a java Features (20)

Lec 1-of-oop2
Lec 1-of-oop2Lec 1-of-oop2
Lec 1-of-oop2
 
Java Ch 1.pptx
Java Ch 1.pptxJava Ch 1.pptx
Java Ch 1.pptx
 
java full 1.docx
java full 1.docxjava full 1.docx
java full 1.docx
 
java full.docx
java full.docxjava full.docx
java full.docx
 
java completed units.docx
java completed units.docxjava completed units.docx
java completed units.docx
 
1 java introduction
1 java introduction1 java introduction
1 java introduction
 
1 java intro
1 java intro1 java intro
1 java intro
 
java full 1 (Recovered).docx
java full 1 (Recovered).docxjava full 1 (Recovered).docx
java full 1 (Recovered).docx
 
JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwords
 
Features of Java.pptx
Features of Java.pptxFeatures of Java.pptx
Features of Java.pptx
 
0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf
 
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
 
JAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).pptJAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).ppt
 
Java features
Java featuresJava features
Java features
 
Introduction To Java history, application, features.pptx
Introduction To Java history, application, features.pptxIntroduction To Java history, application, features.pptx
Introduction To Java history, application, features.pptx
 
Java buzzwords.pptx
Java buzzwords.pptxJava buzzwords.pptx
Java buzzwords.pptx
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
21110113913.pptxElectricity is a type of
21110113913.pptxElectricity is a type of21110113913.pptxElectricity is a type of
21110113913.pptxElectricity is a type of
 

Mais de Jadavsejal

Mais de Jadavsejal (20)

Programming with Java Concept: Java TimeZone Class
Programming with Java Concept: Java TimeZone ClassProgramming with Java Concept: Java TimeZone Class
Programming with Java Concept: Java TimeZone Class
 
Programming Java Concept of Event Handling
Programming Java Concept of Event HandlingProgramming Java Concept of Event Handling
Programming Java Concept of Event Handling
 
Programming Java GUI using SWING, Event Handling
Programming Java GUI using SWING, Event HandlingProgramming Java GUI using SWING, Event Handling
Programming Java GUI using SWING, Event Handling
 
concept of applet and concept of Layout Managers
concept of applet and concept of Layout Managersconcept of applet and concept of Layout Managers
concept of applet and concept of Layout Managers
 
C++ unit-2-part-3
C++ unit-2-part-3C++ unit-2-part-3
C++ unit-2-part-3
 
C++ unit-2-part-2
C++ unit-2-part-2C++ unit-2-part-2
C++ unit-2-part-2
 
C++ unit-2-part-1
C++ unit-2-part-1C++ unit-2-part-1
C++ unit-2-part-1
 
C++ unit-1-part-15
C++ unit-1-part-15C++ unit-1-part-15
C++ unit-1-part-15
 
C++ unit-1-part-14
C++ unit-1-part-14C++ unit-1-part-14
C++ unit-1-part-14
 
C++ unit-1-part-13
C++ unit-1-part-13C++ unit-1-part-13
C++ unit-1-part-13
 
C++ unit-1-part-12
C++ unit-1-part-12C++ unit-1-part-12
C++ unit-1-part-12
 
C++ unit-1-part-11
C++ unit-1-part-11C++ unit-1-part-11
C++ unit-1-part-11
 
C++ unit-1-part-10
C++ unit-1-part-10C++ unit-1-part-10
C++ unit-1-part-10
 
C++ unit-1-part-9
C++ unit-1-part-9C++ unit-1-part-9
C++ unit-1-part-9
 
C++ unit-1-part-8
C++ unit-1-part-8C++ unit-1-part-8
C++ unit-1-part-8
 
C++ unit-1-part-7
C++ unit-1-part-7C++ unit-1-part-7
C++ unit-1-part-7
 
C++ unit-1-part-6
C++ unit-1-part-6C++ unit-1-part-6
C++ unit-1-part-6
 
C++ unit-1-part-5
C++ unit-1-part-5C++ unit-1-part-5
C++ unit-1-part-5
 
C++ unit-1-part-4
C++ unit-1-part-4C++ unit-1-part-4
C++ unit-1-part-4
 
C++ unit-1-part-2
C++ unit-1-part-2C++ unit-1-part-2
C++ unit-1-part-2
 

Último

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 

java Features

  • 1. Prepared by: Assi. Professor Sejal Jadav
  • 2. Q-Java Features 1. Simple 2. Secure 3. Portable 4. Object-oriented 5. Robust 6. Multithreaded 7. Architecture-natural 8. Interpreted 9. High performance 10. Distributed 11. Dynamic
  • 3. 1.Simple • Java was designed to be easy for the professional programmer to learn and use effectively. • Assuming that you have some programming experience, you will not find java hard to master. (just basic experience) • If you already understand the basic concepts of object oriented programming,(OOP) learning java will be even easier.
  • 4. 2. Security • Security is the benefit of java. • Java system not only verifies all memory access but also ensure that no viruses are communicated with an applet. 3. Object-Oriented • Java is a true object oriented language. • All program code and data reside within object and classes. • The object model in java is simple and easy to extend.
  • 5. 3. Portable • The most significant contribution of java over other language is its portability. • Java programs can be easily moved from one computer system to another.  Java ensures portability in two ways: 1. Java compiler generates byte code instruction that can be implemented on any machine. 2. The size of the primitive data types is machine- independent.
  • 6. 4. Robust(healthy, strong) • The multi-platform environment of the Web places extraordinary demands on a program, because the program must execute reliably in a variety of systems. • Thus, the ability to create robust programs was given a high priority in the design of java. • To gain reliability, java has strict compile time and run time checking for codes. • To better understand how java is robust, consider two main reasons for program failure: 1) memory management mistakes and 2) mishandled exceptional conditions.
  • 7. 1. Memory management can be a difficult, tedious task in traditional programming environments. • For example, in C/C++, the programmer must manually allocate and free all dynamic memory. • This sometimes leads to problems, because programmers will either forget to free memory that has been previously allocated or try to free some memory that another part of their code is still using. • Java virtually eliminates these problems by managing memory allocation and deallocation for you.
  • 8. 2. mishandled exceptional conditions • Exceptional conditions in traditional environments often arise in situations such as division by zero or “file not found” and they must be managed with awkward and hard to read constructs. • Java helps in this area by providing object oriented exception handling. • In a well-written java program, all run-time errors can and should be managed by your program.
  • 9. 5. Multi-threaded • Thread is single unit of process. • Java was designed to meet the real-world requirement of creating interactive, networked programs. • To accomplish this, java supports multi-threaded programming, which allows you to write programs that do many things simultaneously. • The java run-time system comes with an elegant yet sophisticated solution for multi-process synchronization that enables you to construct smoothly running interactive systems. • Example: Facebook contacts
  • 10. 6. Architecture-Neutral • A central issue of java programmers was that code longevity and portability. • One of the main problems facing programmers is that no guarantee exists that if you write a program today, it will run tomorrow- even on the same machine. • Operating system upgrades, and changes in core system resources can combine to make a program malfunction. • The java designer made several hard decisions in the java language and the java virtual machine (JVM) in an attempt to alter this situation. • Their goal was “write once; run anywhere, any time, forever.”
  • 11. 7. Interpreted • Usually a computer language is either compiled or interpreted. Java combines these approaches thus making java a two-stage system. • Java compiler translates source code into byte code instructions. • Byte codes are not machine instructions and so java interpreter generates machine code that can be directly executed by the machine that is running the java program. • We can thus say that java is both a compiled and an interpreted language.
  • 12. 8. High Performance • Java performance is impressive for an interpreted language, mainly due to the use of intermediate byte code. • Distributed • Java is designed for the distributed environment of the Internet, because it handles TCP/IP protocols. • Java also supports Remote Method Invocation (RMI). This feature enables a program to invoke methods across a network.
  • 13. 9. Dynamic • Java is capable of dynamically linking in new class libraries, methods and object. • Java can also determine the type of class through a query, making it possible to either dynamically