Sunday, May 19, 2013

INTRODUCTION OF JAVA

JAVA

INTRODUCTION:

-> It was introduced at 1990.
-> It is a case sensitive language.
-> It is a Platform independent
-> It is a high level programming language
-> It was developed by JAMES GOSLING at the year of 1991 at SUN MICROSYSTEM.
-> Initially it was named as OAK and then it was renamed as OAK in the year of 1992
-> The team involved in this project team is named as GREEN TEAM and the project named as GREEN PROJECT.
-> It tooks 18 months to release the first version of the JAVA.

NOTE: Java is not a full OOP (Object Oriented Programmin) Language, because it supports premitive DATA TYPES.

JAVA EDITIONS:

There are 3 Edition in JAVA

1. J2SE -> JAVA TO STANDARD EDITION
2. J2EE    -> JAVA TO ENERTPRISE EDITION
3. J2ME -> JAVA TO MICRO EDITION (OR) MOBILE EDITION

    J2SE-> CORE JAVA AND ADVANCE JAVA
    J2EE-> JSP AND SERVELETS
    J2ME-> ANDROID AND MICRO CHIPS

JAVA VERSIONS:

-> The initial version of java is 1.0 and the current version of java 1.7.
-> There is no major difference between the versions except the two vesion release (1.2 & 1.5).
-> Some of the new conceptes added in the version of (1.2 and 1.5) are called collections
-> After 1.2v util package used.
   
NOTE: Util-> Used to store group of objects. Before 1.2v they use LEGECY CLASS.

-> After 1.5v they implement 5 new conceptes called

        1.Enum
        2.Varargs
        3.Enhanced For Loop
        4.Auto Boxing and Unboxing
        5.Generics

JAVA CLASSIFICTIONS:

    -> 2 Types

        1.Application Programming
        2.Applet Programming

    1.Application Programming:
       
        - It is a program that runs on your own system under the OS(Operating System).

    2.Applet Programming:
       
        - It is an internet programming that runs on the java compatible web browsers.

FEATURES OF JAVA:

   -Simple
    -Architectural Neutral
    -Portable
    -Oops Concept
    -Robustness
    -Multitasking
    -Secure
    -Distributed
    -High Performed
    -Dynamic

1. Simple:

    - Code is less when compare to c and c++.

2. Architectural Neutral:

    - Platform Independance.

3. Portable:

    - We can use class file to execute the programs.

4. OOPS Concept:

    - Inheritance
    - Polymorphism
    - Date Abstraction
    - Encapsulation

5. Robustness:

    - Reliable(Strong).
    - It has the possiblity if error checking before the execution of the programs(Exceptions).

6. Multi-Tasking:
  
    - Executing one are more threads is called as multi tasking.
    - Java Supports Multi-Tasking Concepts.

7. Secure:

    - It contains pre defined secure mechanism.

8. Distributed:

    - Java supports networking environment.
    - Execute the programs in network and share the program in network.

9. High Performance:
  
    - Fast Compilation.
    - Java suppports GC(Garbage collection) it removes the un wanted and un used programs and it leads to high performance.

10. Dynamic:

    - Platform independent.
    - It does not depend on any software.

No comments:

Post a Comment