Java Programming and Dynamic Webpage Design

 Java Programming  Data types, control structured, array. strings, and vector classes (inheritance package, expception  handling) multihreaded programming.

History Of Java 

Java Programming Language was written by James Gosling along with two other person 'Mike Sheridan' and 'Partrick Naughton' while they were  working at sun Microsystems. Initially it was named oak Programming Language. Java team members also known as Green Team , initiated a revolutionary task to develop a language for digital devices such as set-top boxes, televisions etc. Currently, Java is used in internet programming , mobile devices, games , e-business solutions etc. In 1995. Time magazine called Java one of the ten best products of 1995. JDK 1.0 released in January 23, 1996.

Java क्या है

Java ia a programming language and platform. Java ia  a high level, robust, secured and object-oriented programming language.

Platform : Any hardware or software environment in which a program runs, is known as a platform. Since Java has its own runtime environment (JRE) and API, it is called platform.

Example

Class Abc
{
       public static void main (string args [])
{
        system.out. println(("Hello")
  }
}

Features of Java 

1. Simple :

       Java is easy to learn and its syntax is quite simple, clean and easy to understand. The confusing and ambiguous concepts of C++ are +either left out in java or they have been re-implemented in a cleaner way.
[ Pointers and operator overloading are not there in java but were an important part C++ ]

2. Object Oriented :

       In java everything is object which has some data and behaviour, java can be easily extended as it is based on object model.

3. Robust :

        Java makes an effort to eliminate error prone codes by emphasizing manily or compile time error checking and runtime checking. but the main areas which java improved were Memory Management and mishandled Exceptions by introducing automatic Garbage Collector and Exception Handling.

4. Platform Independent :

         Unlike other programming languages such as C, C++ etc which are compiled into platform specific machines, Java is guarnteed to be write-once, run anywhere language.
      On complilation java program is compiled into bytecode. This bytecode is platform independent and can be run on any machine with java runtime environment can run java programs.



5. Secure :

      When it comes to security, java is always the first choice. With java secure features it enble us to develop virus free, temper free system. Java program always runs in java runtime environment with almost null interaction with system OS, hence it is more secure.

6. Multi Threading :

       Java multithreading feature makes it possible to write program that can do many tasks simultaneously. Benefit of multithreading is that it utilizes same memory and other resources to execute multiple threads at the same time, like while typing, grammatical errors are checked along.

7. Architectural Nectural :

        Compiler generates bytecodes, which have nothing to do with a particular computer architecture, hence a java program is easy to intrepret on any machine.

8. Portable :

        Java Bytecode can be carried to any platform. No implementation dependent features. Everything rekated to storage is predefined, 
example : Size of primitive data tupes 

9. High Performance

       Java is an interpreted language , so it will never be as fast as a compiled language like C or C++. But Java enables high performance with the use of just-in time compiler.

No comments

Powered by Blogger.