Tuesday, July 7, 2015

Features of Java

Sun Microsystems officially describes Java with the various features.

Features of Java is as follow: 

1) Object-Oriented
2) Platform-Independent and Portable
3) Compiled and Interpreted
4) Distributed
5) High Performance
6) Robust and Secure
7) Multi-threaded and Interactive  
8) Familiar,Simple and Small
9) Dynamic and Extensible


Additional Features of Java:

1) Ease of Development
2) Scalability and Performance
3) Monitoring and Manageability
4) Desktop Client
5) Core XML supports
6) Supplementary character support
7) JDBC Row-Set



-:Features of JAVA with more Specification:-


  • Object-Oriented
JAVA is a true object-oriented language. Almost everything in Java is an object. All the program code and data reside within objects and classes. The object model in Java is simple and easy to extend.

  • Platform-independent and Portable 
Java program can be easily moved from one computer system to another system,anywhere and anytime.

Java is portable in two ways.
1]  Java compiler generates byte code instructions that can be implemented on any machine.
2] The size of primitive data types are machine-independent.

  • Compiled and Interpreted

Usually a computer language is either compiled or interpreted.  Java combines both these approaches thus making Java a two-stage system.
1] Java compiler translates source code into byte code instructions.
2]  Interpreter generates machine code that can be directly executed by the machine that is running the Java program.
We can thus say that Java is both a compiled and an interpreted language.
  • Distributed
Java is designed as distributed language for creating application on networks. It has the ability to share both data and program. Java application can open and access remote objects on Internet as easily as they can do on a local system.
  • High Performance
Java performance is impressive for an interpreted language, mainly due to the use of intermediate bytecode. Java architecture is also designed to reduce overheads during runtime. According to Sun Microsystems, Java Speed is Comparable to Native C/C++.
  • Robust and Secure
Java is a Robust language. It provides many safeguards to ensure reliable code. It is designed as a garbage collected language. 
    Java System verify the memory access and also ensure that no viruses are communicated with the application.
  • Multi-threaded and Interactive
Multi-threaded means handling multiple task simultaneously . Java allows multiple task simultaneously this improve interactive performance of graphical application. Java runtime comes with tools that supports multiprocess synchronization and construct smoothly running interactive system.

  •  Familiar,Simple and Small
Java is a small and simple language. Many features of C and C++ that are either redundant of sources of unreliable code are not part of Java.
 Example :
  1. Java Does not support Pointer.
  2. Java does not support preprocessor headers.
  3. goto statement does not supported by Java.
  4. Mainly Java Does not supports Operator Overloading & multi-inheritance etc.
 Familiarity is another striking feature of Java. To make the language look familiar to the existing programs, It was modeled on C & C++.
  • Dynamic and Extensible
Java is dynamic language. It is capable of dynamically linking in new class libraries, methods and object.
   Java Program support functions written in other languages such as C & C++. These function are know as Native methods.

Addition Features of Java ->>

Why JAVA is most popular language for Programming?

JAVA is most popular language in programming....

Java programs can be easily moved from one computer system to another,anywhere and anytime. Changes and upgrades in operating system,processor and system resources will not force any changes in Java programs. this is a reason why Java has become a popular language for programming on Internet which interconnects different kind of system worldwide.

Sunday, July 5, 2015

Write First Java Program

Welcome Friends,
            I start this blog for Java Programming, Here You can learn The Java Programming Language.
Today you will see that how to write the first Java Program.


The Code of Program is Below.
           

class Welcome
{
  public static void main(String[] args)
    {
        System.out.println("Hello, World!");
    }
}

In this Section We will see the detail of the Program, Java to Fully Object Orientated Programming language. So it start with class and the first write Welcome class and in that main() method and then print the message Hello, World!

The output windows of this is with the Code in Editor:

editor code
Program in Editor!

output
Output in Windows Environment

Learn Computer tricks and Programming with Rajendra Kumar Yadav: Download and Install JDK and Check the Configurati...

Learn Computer tricks and Programming with Rajendra Kumar Yadav: Download and Install JDK and Check the Configurati...: Good Afternoon Friends,            Today I write the blog that how to configure Java Development Kit in Windows XP/7/8/8.1/10.  ...

History of Java Programming and Java Developers Kit Release History with Date

Java Programming Language Project was started by James Gosling, Mike Sheridan, and Patrick Naughton in June 1991 under Sun Microsystems, In starting the project name was called as Oak . After some time the project name changed as Green and finally as Java. First Project using Java was to make a set-top box name of that project was oak which was in-front of the office, This project was started by Sun Microsystems.Gosling designed Java Project with the help of C & C++ type Syntax that was familiar by both system and application programmer.
                  First Release (Publicly) of Java was Java Version 1.0 by Sun Microsystems in 1995. Java Consist a very great feature that support "Write once, Run anywhere" (WORA). It means Write the Java source and compile, after compilation a bytecode is generate that can be run on any platform which support Java using JVM (Java Virtual Machine). With the Sun Microsystems release the "Hot Java", It is a browser which supports full feature of Java Web Programming (Java EE). In November 2013, Java release as free and open-source software (FOSS). under the terms and conditions of the GNU General Public License (GPL). After Some time in May 2007, Sun Microsystems Makes available all source code free under Free Software/Open Source Distribution, During the 2009-2010, Sun Microsystems handover this project to Oracle Corporation's. on April 2010 James Gosling resigned from Oracle.

Version history of The Java


Version Name
Date Release
JDK 1.0
January 21,1995
JDK 1.1
February 19, 1997
J2SE 1.2
December 8, 1998
J2SE 1.3
May 8, 2000
J2SE 1.4
February 6, 2002
J2SE 5.0
September 30, 2004
Java SE 6
December 11, 2006
Java SE 7
July 28, 2011
Java SE 8
March 18, 2014