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

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

Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
Iintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptxIintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
Java2020 programming basics and fundamentals
Java2020 programming basics and fundamentalsJava2020 programming basics and fundamentals
Java2020 programming basics and fundamentals
swecsaleem
 
Java the reason behind its never ending demand
Java the reason behind its never ending demandJava the reason behind its never ending demand
Java the reason behind its never ending demand
Deepika Chaudhary
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
Qualys
 
Java and its features
Java and its featuresJava and its features
Java and its features
Pydi Nikhil
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
 
Java-Unit-I.ppt
Java-Unit-I.pptJava-Unit-I.ppt
Java-Unit-I.ppt
RameswarGprec
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
Geekster
 
CORE JAVA
CORE JAVACORE JAVA
CORE JAVA
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
gowher172236
 
Java lab zero lecture
Java  lab  zero lectureJava  lab  zero lecture
Java lab zero lecture
vishal choudhary
 
Java programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdfJava programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
Java session2
Java session2Java session2
Java session2
Jigarthacker
 
Object oriented programming-with_java
Object oriented programming-with_javaObject oriented programming-with_java
Object oriented programming-with_java
Harry Potter
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
James Wong
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Fraboni Ec
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Luis Goldster
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Young Alista
 
Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
Iintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptxIintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
Java2020 programming basics and fundamentals
Java2020 programming basics and fundamentalsJava2020 programming basics and fundamentals
Java2020 programming basics and fundamentals
swecsaleem
 
Java the reason behind its never ending demand
Java the reason behind its never ending demandJava the reason behind its never ending demand
Java the reason behind its never ending demand
Deepika Chaudhary
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
Qualys
 
Java and its features
Java and its featuresJava and its features
Java and its features
Pydi Nikhil
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
Geekster
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
gowher172236
 
Java programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdfJava programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
Object oriented programming-with_java
Object oriented programming-with_javaObject oriented programming-with_java
Object oriented programming-with_java
Harry Potter
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
James Wong
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Fraboni Ec
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Luis Goldster
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Young Alista
 

Recently uploaded (20)

Research_Sensitization_&_Innovative_Project_Development.pptx
Research_Sensitization_&_Innovative_Project_Development.pptxResearch_Sensitization_&_Innovative_Project_Development.pptx
Research_Sensitization_&_Innovative_Project_Development.pptx
niranjancse
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior DevelopersDavid Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401
Unknown
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
Flow Chart Proses Bisnis prosscesss.docx
Flow Chart Proses Bisnis prosscesss.docxFlow Chart Proses Bisnis prosscesss.docx
Flow Chart Proses Bisnis prosscesss.docx
rifka575530
 
11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)
kjim477n
 
Computer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdfComputer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdf
kumarprem6767merp
 
IOt Based Research on Challenges and Future
IOt Based Research on Challenges and FutureIOt Based Research on Challenges and Future
IOt Based Research on Challenges and Future
SACHINSAHU821405
 
fHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghj
fHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghjfHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghj
fHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghj
yadavshivank2006
 
Semi-Conductor ppt ShubhamSeSemi-Con.pptx
Semi-Conductor ppt ShubhamSeSemi-Con.pptxSemi-Conductor ppt ShubhamSeSemi-Con.pptx
Semi-Conductor ppt ShubhamSeSemi-Con.pptx
studyshubham18
 
Airport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptxAirport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptx
BibekMedhi2
 
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journeyRigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Yannis
 
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptxWeek 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
dayananda54
 
Ppt on the related on the solar power system for electric vehicle engineering
Ppt on the related on the solar power system for electric vehicle engineeringPpt on the related on the solar power system for electric vehicle engineering
Ppt on the related on the solar power system for electric vehicle engineering
ravindrabodke
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
New Microsoft Office Word Documentfrf.docx
New Microsoft Office Word Documentfrf.docxNew Microsoft Office Word Documentfrf.docx
New Microsoft Office Word Documentfrf.docx
misheetasah
 
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODSWIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
samueljackson3773
 
First Review PPT gfinal gyft ftu liu yrfut go
First Review PPT gfinal gyft  ftu liu yrfut goFirst Review PPT gfinal gyft  ftu liu yrfut go
First Review PPT gfinal gyft ftu liu yrfut go
Sowndarya6
 
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptxFINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
kippcam
 
Research_Sensitization_&_Innovative_Project_Development.pptx
Research_Sensitization_&_Innovative_Project_Development.pptxResearch_Sensitization_&_Innovative_Project_Development.pptx
Research_Sensitization_&_Innovative_Project_Development.pptx
niranjancse
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior DevelopersDavid Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401
Unknown
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
Flow Chart Proses Bisnis prosscesss.docx
Flow Chart Proses Bisnis prosscesss.docxFlow Chart Proses Bisnis prosscesss.docx
Flow Chart Proses Bisnis prosscesss.docx
rifka575530
 
11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)
kjim477n
 
Computer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdfComputer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdf
kumarprem6767merp
 
IOt Based Research on Challenges and Future
IOt Based Research on Challenges and FutureIOt Based Research on Challenges and Future
IOt Based Research on Challenges and Future
SACHINSAHU821405
 
fHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghj
fHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghjfHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghj
fHUINhKG5lM1WBBk608.pptxfhjjhhjffhiuhhghj
yadavshivank2006
 
Semi-Conductor ppt ShubhamSeSemi-Con.pptx
Semi-Conductor ppt ShubhamSeSemi-Con.pptxSemi-Conductor ppt ShubhamSeSemi-Con.pptx
Semi-Conductor ppt ShubhamSeSemi-Con.pptx
studyshubham18
 
Airport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptxAirport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptx
BibekMedhi2
 
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journeyRigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Yannis
 
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptxWeek 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
dayananda54
 
Ppt on the related on the solar power system for electric vehicle engineering
Ppt on the related on the solar power system for electric vehicle engineeringPpt on the related on the solar power system for electric vehicle engineering
Ppt on the related on the solar power system for electric vehicle engineering
ravindrabodke
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
New Microsoft Office Word Documentfrf.docx
New Microsoft Office Word Documentfrf.docxNew Microsoft Office Word Documentfrf.docx
New Microsoft Office Word Documentfrf.docx
misheetasah
 
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODSWIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
samueljackson3773
 
First Review PPT gfinal gyft ftu liu yrfut go
First Review PPT gfinal gyft  ftu liu yrfut goFirst Review PPT gfinal gyft  ftu liu yrfut go
First Review PPT gfinal gyft ftu liu yrfut go
Sowndarya6
 
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptxFINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
kippcam
 
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.