SlideShare a Scribd company logo
1 of 27
Basics and Features of Java




                              1
Objectives

On completion of this period, you would be able to
 know

•   The features of Java Applets and Applications




                                                     2
Recap

•   What is an applet?
•   Differentiate Java with C++
•   Why Java is important to internet?




                                         3
Features of Java applications

Sun Micro Systems officially describes Java
with the following features
•   Compiled and Interpreted
•   Platform Independent and Portable
•   Object Oriented
•   Robust and Secure
•   Distributed


                                              4
Contd..
    Features of Java applications

•   Simple, Small and Familiar
•   Multithreaded and Interactive
•   High Performance
•   Dynamic and Extensible




                                              5
Compiled and Interpreted

•   Usually a computer language is either compiled or
    interpreted
•   Java combines both these approaches, thus making
    Java a two stage system
•   First Java compiler translates source code into
    byte code instructions
•   Byte codes are not machine instructions

                                                    6
Contd..

           Compiled and Interpreted
•   In the second stage Java interpreter generates
    machine code

•   That can be directly executed by the machine




              Fig. 2.1 Compiled and Interpreted

                                                            7
Platform Independent and Portable
•   The most significant feature of Java   is its
    portability


•   Java programs can be easily moved from one
    computer system to another ,anywhere and at
    anytime



                                                    8
Platform Independent and Portable              Contd..


 •   Changes and upgrades in
           •   Operating systems
           •   Processors
           •   System resources

 will not force any changes in Java programs



                                                         9
Platform Independent and Portable                               Contd..




Fig. 2.2 Once compiled, Java class file can be run on any platform

                                                                          10
Object Oriented

•   Java is a true object oriented language
•   Almost everything in Java is an object
•   All programs code and data reside within objects
    and classes
•   Java comes with an extensive set of classes
    arranged in packages



                                                   11
Robust and Secure
•   Java is a robust language

•   It provides many safeguards to ensure reliable
    code

•   It has strict compile time and runtime for data
    types



                                                      12
Contd..
                Robust and Secure
•   It is designed as a garbage collected language

•   Java also provides concept of exception handling
    which identifies errors and eliminates




                                                           13
Contd..
                 Robust and Secure

•   Security becomes an important issue for a
    language that is used for programming on internet
•   Threat of viruses and abuse of resources
•   Java systems not only verify all memory access,
    but also ensure that no viruses are communicated
    with an applet


                                                          14
Contd..
                Robust and Secure


•   The absence of pointers in Java ensures that
    programs cannot gain access to memory location
    without proper initialization




                                                     15
Distributed
•   Java is designed as a distributed language for
    creating applications on networks


•   It has the ability to share both data and programs




                                                         16
Contd..
                     Distributed

•   Java applications can open and access remote

    object as easily as they can do in a local system

•   Enables multiple programmers at multiple

    locations work together on a single project



                                                            17
Simple, Small and Familiar
•   Java is small and simple language. Many features
    of C and C++ are not part of Java
       eg. : Java does not provide
                • Pointers

                • Preprocessors header file

                • goto statements

                • Operator overloading

                • Multiple inheritance




                                                   18
Contd..
     Simple, Small and Familiar

•   Familiarity is another feature of Java

•   It is modeled on C and C++ languages

•   Java is a simplified version of C++




                                                       19
Multithreaded and Interactive

•   Multithreaded means handling multiple
    tasks simultaneously
•   Java supports multithreaded programs
•   Need not wait for the application to finish
    one task before beginning another
•   Greatly    improves      the     interactive
    performance of graphical applications
                                               20
High Performance

•   Java performance is impressive for an interpreted
    language
    •   Due to the use of intermediate byte code
•   Java architecture is also designed to reduce
    overheads during runtime
•   The incorporation of multithreading enhances the
    overall execution speed of Java programs


                                                   21
Dynamic and Extensible

•   Java is a dynamic language
•   Java is capable of dynamically linking new
           •   Class libraries
           •   Methods
           •   Objects
•   Java programs supports functions written in other
    languages such as C and C++
           •   These functions are known as “native methods”



                                                               22
Contd..
          Dynamic and Extensible



•   This facility enables the programmers to use the
    efficient available in these languages


•   Native methods are dynamically linked at runtime




                                                         23
Summary

•   Features of Java Applications
•   Features of Java Applets




                                    24
Quiz

1.Usually a computer language is either ______

a)   Compiled
b)   Compiled and Interpreted
c)   Compiled or Interpreted
d)   Interpreted



                                                 25
Frequently Asked Questions

•   Explain the features of Java Applications and Java
    Applets




                                                         26
swings
Struts
jdbc
hibernate
home
java previous question papers
 OCT/NOV-2012 QUESTION PAPER
April / May 2012 c-09
October/ November-2011 c-09
April/ May 2011 c-09      
April/ May 2011 c-05
                          

                                27

More Related Content

What's hot

Control structures in java
Control structures in javaControl structures in java
Control structures in javaVINOTH R
 
Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)MD Sulaiman
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handlingkamal kotecha
 
classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++HalaiHansaika
 
JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivityTanmoy Barman
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)Sujit Majety
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaCPD INDIA
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machineLaxman Puri
 
Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++Muhammad Waqas
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Languagejaimefrozr
 
1 unit (oops)
1 unit (oops)1 unit (oops)
1 unit (oops)Jay Patel
 
Class and object in C++
Class and object in C++Class and object in C++
Class and object in C++rprajat007
 

What's hot (20)

Control structures in java
Control structures in javaControl structures in java
Control structures in java
 
Java
JavaJava
Java
 
Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)
 
what is java?
  what is java?  what is java?
what is java?
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
 
classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++
 
JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivity
 
Applets in java
Applets in javaApplets in java
Applets in java
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 
JAVA PROGRAMMING
JAVA PROGRAMMING JAVA PROGRAMMING
JAVA PROGRAMMING
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machine
 
Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++
 
Arrays in Java
Arrays in JavaArrays in Java
Arrays in Java
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
1 unit (oops)
1 unit (oops)1 unit (oops)
1 unit (oops)
 
Class and object in C++
Class and object in C++Class and object in C++
Class and object in C++
 
OOP java
OOP javaOOP java
OOP java
 
Jdbc ppt
Jdbc pptJdbc ppt
Jdbc ppt
 

Similar to Java features (20)

java Features
java Featuresjava Features
java Features
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptx
 
java full 1 (Recovered).docx
java full 1 (Recovered).docxjava full 1 (Recovered).docx
java full 1 (Recovered).docx
 
java completed units.docx
java completed units.docxjava completed units.docx
java completed units.docx
 
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 Introduction
Java IntroductionJava Introduction
Java Introduction
 
1 java introduction
1 java introduction1 java introduction
1 java introduction
 
1 java intro
1 java intro1 java intro
1 java intro
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
 
JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1
 
01-Introduction.ppt
01-Introduction.ppt01-Introduction.ppt
01-Introduction.ppt
 
9 cm604.1
9 cm604.19 cm604.1
9 cm604.1
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwords
 
C# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdfC# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdf
 
Java Ch 1.pptx
Java Ch 1.pptxJava Ch 1.pptx
Java Ch 1.pptx
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Java (1)
Java (1)Java (1)
Java (1)
 
Java.pptx
Java.pptxJava.pptx
Java.pptx
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 

More from myrajendra (20)

Fundamentals
FundamentalsFundamentals
Fundamentals
 
Data type
Data typeData type
Data type
 
Hibernate example1
Hibernate example1Hibernate example1
Hibernate example1
 
Jdbc workflow
Jdbc workflowJdbc workflow
Jdbc workflow
 
2 jdbc drivers
2 jdbc drivers2 jdbc drivers
2 jdbc drivers
 
3 jdbc api
3 jdbc api3 jdbc api
3 jdbc api
 
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
 
Dao example
Dao exampleDao example
Dao example
 
Sessionex1
Sessionex1Sessionex1
Sessionex1
 
Internal
InternalInternal
Internal
 
3. elements
3. elements3. elements
3. elements
 
2. attributes
2. attributes2. attributes
2. attributes
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
 
Headings
HeadingsHeadings
Headings
 
Forms
FormsForms
Forms
 
Css
CssCss
Css
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Starting jdbc
Starting jdbcStarting jdbc
Starting jdbc
 

Recently uploaded

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
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.pdfQucHHunhnh
 
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...christianmathematics
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
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)Jisc
 
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.docxRamakrishna Reddy Bijjam
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
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
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
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...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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)
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

Java features

  • 2. Objectives On completion of this period, you would be able to know • The features of Java Applets and Applications 2
  • 3. Recap • What is an applet? • Differentiate Java with C++ • Why Java is important to internet? 3
  • 4. Features of Java applications Sun Micro Systems officially describes Java with the following features • Compiled and Interpreted • Platform Independent and Portable • Object Oriented • Robust and Secure • Distributed 4
  • 5. Contd.. Features of Java applications • Simple, Small and Familiar • Multithreaded and Interactive • High Performance • Dynamic and Extensible 5
  • 6. Compiled and Interpreted • Usually a computer language is either compiled or interpreted • Java combines both these approaches, thus making Java a two stage system • First Java compiler translates source code into byte code instructions • Byte codes are not machine instructions 6
  • 7. Contd.. Compiled and Interpreted • In the second stage Java interpreter generates machine code • That can be directly executed by the machine Fig. 2.1 Compiled and Interpreted 7
  • 8. Platform Independent and Portable • The most significant feature of Java is its portability • Java programs can be easily moved from one computer system to another ,anywhere and at anytime 8
  • 9. Platform Independent and Portable Contd.. • Changes and upgrades in • Operating systems • Processors • System resources will not force any changes in Java programs 9
  • 10. Platform Independent and Portable Contd.. Fig. 2.2 Once compiled, Java class file can be run on any platform 10
  • 11. Object Oriented • Java is a true object oriented language • Almost everything in Java is an object • All programs code and data reside within objects and classes • Java comes with an extensive set of classes arranged in packages 11
  • 12. Robust and Secure • Java is a robust language • It provides many safeguards to ensure reliable code • It has strict compile time and runtime for data types 12
  • 13. Contd.. Robust and Secure • It is designed as a garbage collected language • Java also provides concept of exception handling which identifies errors and eliminates 13
  • 14. Contd.. Robust and Secure • Security becomes an important issue for a language that is used for programming on internet • Threat of viruses and abuse of resources • Java systems not only verify all memory access, but also ensure that no viruses are communicated with an applet 14
  • 15. Contd.. Robust and Secure • The absence of pointers in Java ensures that programs cannot gain access to memory location without proper initialization 15
  • 16. Distributed • Java is designed as a distributed language for creating applications on networks • It has the ability to share both data and programs 16
  • 17. Contd.. Distributed • Java applications can open and access remote object as easily as they can do in a local system • Enables multiple programmers at multiple locations work together on a single project 17
  • 18. Simple, Small and Familiar • Java is small and simple language. Many features of C and C++ are not part of Java eg. : Java does not provide • Pointers • Preprocessors header file • goto statements • Operator overloading • Multiple inheritance 18
  • 19. Contd.. Simple, Small and Familiar • Familiarity is another feature of Java • It is modeled on C and C++ languages • Java is a simplified version of C++ 19
  • 20. Multithreaded and Interactive • Multithreaded means handling multiple tasks simultaneously • Java supports multithreaded programs • Need not wait for the application to finish one task before beginning another • Greatly improves the interactive performance of graphical applications 20
  • 21. High Performance • Java performance is impressive for an interpreted language • Due to the use of intermediate byte code • Java architecture is also designed to reduce overheads during runtime • The incorporation of multithreading enhances the overall execution speed of Java programs 21
  • 22. Dynamic and Extensible • Java is a dynamic language • Java is capable of dynamically linking new • Class libraries • Methods • Objects • Java programs supports functions written in other languages such as C and C++ • These functions are known as “native methods” 22
  • 23. Contd.. Dynamic and Extensible • This facility enables the programmers to use the efficient available in these languages • Native methods are dynamically linked at runtime 23
  • 24. Summary • Features of Java Applications • Features of Java Applets 24
  • 25. Quiz 1.Usually a computer language is either ______ a) Compiled b) Compiled and Interpreted c) Compiled or Interpreted d) Interpreted 25
  • 26. Frequently Asked Questions • Explain the features of Java Applications and Java Applets 26
  • 27. swings Struts jdbc hibernate home java previous question papers  OCT/NOV-2012 QUESTION PAPER April / May 2012 c-09 October/ November-2011 c-09 April/ May 2011 c-09   April/ May 2011 c-05   27