SlideShare a Scribd company logo
Introduction of JAVA:
 JAVA was developed by James Gosling at Sun Microsystems Inc in the
year 1995, later acquired by Oracle Corporation.
 Java is a programming language and a platform. Java is a high level, robust, object-
oriented and secure programming language.
Application of JAVA:
1. Desktop Applications such as acrobat reader, media player, antivirus, etc.
2. Web Applications such as irctc.co.in, javatpoint.com, etc.
3. Enterprise Applications such as banking applications.
4. Mobile
5. Embedded System
6. Smart Card
7. Robotics
8. Games, etc.
Features of JAVA:
1)Simple:
 Java is very simple & easy to learn.
 We can write java programs very easily.
 To learn java no prior knowledge is required.
 Most of the common complex & confusing features of other languages (C, C++) like
pointers, multiple inheritance, etc. removed from java.

2)Platform Independent:
 If we write java program once, we can run on any platform. i.e. java follows Write
Once Run Anywhere principle(WORA).
 We can run same java program on Windows, Linux & MAC also.
Fig. platform Independent
3)Architecture Neutral:
 Java programs never communicates with the platform directly. Changes & upgrades
in Operating Systems, processors and system resources will not force any changes of
java programs.
4)Portable:
 We can carry the java byte code to any platform without making any changes.
Mobile number portability in India from Airtel to Jio, for that no need to change
number, same byte code (class file) can run on any platform.
5)Secure:
 Java program never communicates directly with the machine. First converted into
byte code and then converted into machine code by the jvm.
 If the bytecode contains any problem or if it is not properly formatted, then JVM
won’t allow that code to run & will raise Verify Error. Internally inside JVM, Bytecode
verifier is responsible to verify byte code.
 Hence, java programs won’t cause any problem to the system.
6)Object Oriented Programming Language:
 Java is object oriented programming languages like C++, most of the times in java,
we have to handle everything in terms of object.
 Java provide support for the following OOP features:
Inheritance, Polymorphism, Encapsulation, Association, Abstraction, class & Objects.
7)Multithreaded:
 In the case of multithreading, multiple threads can run simultaneously and can
perform specified task simultaneously, so that performance of the application will
be improved.
 Java provides inbuilt support for multithreading by providing a rich API.
 Java won’t parallelize code execution automatically. It provides Libraries, By using
those we have to write code for parallel execution.
8)Robust:
 Java is strongly typed language. Compiler will check each & every declaration &
assignments at compile time only for type compatibility. If any problem w.r.t. types,
then at compile time only we can identify the problem.
 It provides garbage collector for automatic memory management. Hence, there is
no chance of memory related problems.
 Java provides inbuilt Exception Handling. Which prevents abnormal termination of
the program at runtime.
 Java is platform independent and it can run on any platform.
 Because of all these facilities, the chance of failing the program at runtime is very
less and hence, java is Robust.
9)Distributed:
 If the application is distributed across multiple machines(JVMs) such type of
application is called Distributed application.
 Java provides inbuilt support for distributed programming with RMI (Remote
method Invocation).
10)Compiled & interpreted:
 Java is both Compiled & Interpreted Programming language. First java compiler
compiles java code and generates machine independent Byte code.
 At runtime JVM interprets this byte code into machine code and executes that
machine code.
Fig. Java is compiled & interpreted
11)High Performance:
 Java is relatively faster than traditional interpreted languages, since the byte code
is close to native code.
 It provides high performance due to JIT compiler. Because it has more information
available.
12) Dynamic:
 In the case of java programs, all .class files won’t be loaded at the beginning. At
runtime if JVM required any class then only the corresponding .class file will be
loaded (Dynamic loading).
 The main advantage is program will always get latest version of .class file and
memory utilization will be improved.

More Related Content

PPTX
Introduction To Java history, application, features.pptx
sonalipatil225940
 
PDF
0f0cef_1dac552af56c4338ab0672859199e693.pdf
DeepakChaudhriAmbali
 
PPTX
Lecture java variable , data type, token
ChandrashekharSingh859453
 
PPTX
JAVA PROGRAMMING-Unit I - Final PPT.pptx
SuganthiDPSGRKCW
 
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
PPTX
Java lab lecture 1
vishal choudhary
 
PPTX
Java ms harsha
Harsha Batra
 
PDF
Java unit 1
Shipra Swati
 
Introduction To Java history, application, features.pptx
sonalipatil225940
 
0f0cef_1dac552af56c4338ab0672859199e693.pdf
DeepakChaudhriAmbali
 
Lecture java variable , data type, token
ChandrashekharSingh859453
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
SuganthiDPSGRKCW
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
Java lab lecture 1
vishal choudhary
 
Java ms harsha
Harsha Batra
 
Java unit 1
Shipra Swati
 

Similar to JAVA Programming-Lectures-1_javaFeatures (2).docx (20)

PPTX
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
PPT
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
PPTX
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
PPT
Java2020 programming basics and fundamentals
swecsaleem
 
PPTX
Java the reason behind its never ending demand
Deepika Chaudhary
 
PPTX
Java Lecture 1
Qualys
 
DOCX
Java and its features
Pydi Nikhil
 
PPT
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
 
PPT
Java-Unit-I.ppt
RameswarGprec
 
PDF
Java Introduction | PDF
Geekster
 
DOCX
Notes of java first unit
gowher172236
 
PPTX
Java lab zero lecture
vishal choudhary
 
PDF
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
PPTX
Java session2
Jigarthacker
 
PPTX
Object oriented programming-with_java
Harry Potter
 
PPTX
Object oriented programming
James Wong
 
PPTX
Object oriented programming-with_java
Tony Nguyen
 
PPTX
Object oriented programming
Luis Goldster
 
PPTX
Object oriented programming
Young Alista
 
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
Java2020 programming basics and fundamentals
swecsaleem
 
Java the reason behind its never ending demand
Deepika Chaudhary
 
Java Lecture 1
Qualys
 
Java and its features
Pydi Nikhil
 
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
 
Java-Unit-I.ppt
RameswarGprec
 
Java Introduction | PDF
Geekster
 
Notes of java first unit
gowher172236
 
Java lab zero lecture
vishal choudhary
 
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
Java session2
Jigarthacker
 
Object oriented programming-with_java
Harry Potter
 
Object oriented programming
James Wong
 
Object oriented programming-with_java
Tony Nguyen
 
Object oriented programming
Luis Goldster
 
Object oriented programming
Young Alista
 
Ad

Recently uploaded (20)

PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
Software Testing Tools - names and explanation
shruti533256
 
PPTX
Introduction of deep learning in cse.pptx
fizarcse
 
PPTX
easa module 3 funtamental electronics.pptx
tryanothert7
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PDF
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
PPT
Ppt for engineering students application on field effect
lakshmi.ec
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PPTX
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PDF
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
PDF
dse_final_merit_2025_26 gtgfffffcjjjuuyy
rushabhjain127
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PDF
flutter Launcher Icons, Splash Screens & Fonts
Ahmed Mohamed
 
PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PDF
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Zero Carbon Building Performance standard
BassemOsman1
 
Software Testing Tools - names and explanation
shruti533256
 
Introduction of deep learning in cse.pptx
fizarcse
 
easa module 3 funtamental electronics.pptx
tryanothert7
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
Ppt for engineering students application on field effect
lakshmi.ec
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
dse_final_merit_2025_26 gtgfffffcjjjuuyy
rushabhjain127
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
flutter Launcher Icons, Splash Screens & Fonts
Ahmed Mohamed
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Ad

JAVA Programming-Lectures-1_javaFeatures (2).docx

  • 1. Introduction of JAVA:  JAVA was developed by James Gosling at Sun Microsystems Inc in the year 1995, later acquired by Oracle Corporation.  Java is a programming language and a platform. Java is a high level, robust, object- oriented and secure programming language. Application of JAVA: 1. Desktop Applications such as acrobat reader, media player, antivirus, etc. 2. Web Applications such as irctc.co.in, javatpoint.com, etc. 3. Enterprise Applications such as banking applications. 4. Mobile 5. Embedded System 6. Smart Card 7. Robotics 8. Games, etc. Features of JAVA: 1)Simple:  Java is very simple & easy to learn.  We can write java programs very easily.  To learn java no prior knowledge is required.  Most of the common complex & confusing features of other languages (C, C++) like pointers, multiple inheritance, etc. removed from java.  2)Platform Independent:  If we write java program once, we can run on any platform. i.e. java follows Write Once Run Anywhere principle(WORA).  We can run same java program on Windows, Linux & MAC also.
  • 2. Fig. platform Independent 3)Architecture Neutral:  Java programs never communicates with the platform directly. Changes & upgrades in Operating Systems, processors and system resources will not force any changes of java programs. 4)Portable:  We can carry the java byte code to any platform without making any changes. Mobile number portability in India from Airtel to Jio, for that no need to change number, same byte code (class file) can run on any platform. 5)Secure:  Java program never communicates directly with the machine. First converted into byte code and then converted into machine code by the jvm.  If the bytecode contains any problem or if it is not properly formatted, then JVM won’t allow that code to run & will raise Verify Error. Internally inside JVM, Bytecode verifier is responsible to verify byte code.  Hence, java programs won’t cause any problem to the system. 6)Object Oriented Programming Language:
  • 3.  Java is object oriented programming languages like C++, most of the times in java, we have to handle everything in terms of object.  Java provide support for the following OOP features: Inheritance, Polymorphism, Encapsulation, Association, Abstraction, class & Objects. 7)Multithreaded:  In the case of multithreading, multiple threads can run simultaneously and can perform specified task simultaneously, so that performance of the application will be improved.  Java provides inbuilt support for multithreading by providing a rich API.  Java won’t parallelize code execution automatically. It provides Libraries, By using those we have to write code for parallel execution. 8)Robust:  Java is strongly typed language. Compiler will check each & every declaration & assignments at compile time only for type compatibility. If any problem w.r.t. types, then at compile time only we can identify the problem.  It provides garbage collector for automatic memory management. Hence, there is no chance of memory related problems.  Java provides inbuilt Exception Handling. Which prevents abnormal termination of the program at runtime.  Java is platform independent and it can run on any platform.  Because of all these facilities, the chance of failing the program at runtime is very less and hence, java is Robust. 9)Distributed:  If the application is distributed across multiple machines(JVMs) such type of application is called Distributed application.  Java provides inbuilt support for distributed programming with RMI (Remote method Invocation). 10)Compiled & interpreted:  Java is both Compiled & Interpreted Programming language. First java compiler compiles java code and generates machine independent Byte code.  At runtime JVM interprets this byte code into machine code and executes that machine code.
  • 4. Fig. Java is compiled & interpreted 11)High Performance:  Java is relatively faster than traditional interpreted languages, since the byte code is close to native code.  It provides high performance due to JIT compiler. Because it has more information available. 12) Dynamic:  In the case of java programs, all .class files won’t be loaded at the beginning. At runtime if JVM required any class then only the corresponding .class file will be loaded (Dynamic loading).  The main advantage is program will always get latest version of .class file and memory utilization will be improved.