Header Ads Widget

Basic of Java programming


Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.

Versions Of  Java

Java SE Version Version Release Date
J2SE 1.3 1.3 May 2000
J2SE 1.4 1.4 February 2002
J2SE 5.0 1.5 September 2004
Java SE 6 1.6 December 2006
Java SE 7 1.7 July 2011
Java SE 8 1.8 March 2014
Java SE 9 9 September, 21st 2017
Java SE 10 10 March, 20th 2018
Java SE 11 11 September, 25th 2018
Java SE 12 12 March, 19th 2019
Java SE 13 13 September, 27th 2019
Java SE 14 14 March, 19th 2019

Features of JAVA

  1. Simple
  2. Java is designed to be easy to learn. bacause java uses the basic concept of OOP

  3. Robust
  4. Java makes an effort to eliminate error-prone situations by emphasizing mainly on compile time error checking and runtime checking.

  5. Platform Independent
  6. Unlike other programming languages such as C, C++ etc which are compiled into platform specific machines. Java is guaranteed to be write-once, run-anywhere language.

    On compilation Java program is compiled into bytecode. This bytecode is platform independent and can be run on any machine, plus this bytecode format also provide security. Any machine with Java Runtime Environment can run Java Programs.

  7. portable
  8. this is main feature of java. java is portable language the feature of carrying the Java bytecode to any platform without any implementation

  9. Distributed
  10. Java language is basically distributed as it facilitates the programmer to create distributed applications in it.EJB and RMI are the two components that are used for creating distributed applications.

  11. High Performance
  12. 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.

  13. Multithreaded
  14. ava's multithreaded feature it is possible to write programs that can perform many tasks simultaneously. This design feature allows the developers to construct interactive applications that can run smoothly.

Types Of Java Applications

  • Mobile Applications
  • Java ME is a cross-platform to develop mobile applications which run across smartphones. Java is a platform for App Development in Android.

  • Web Applications
  • An applications that run on the server is called web applications. We use JSP, Servlet, Spring, and Hibernate technologies for creating web applications.

  • Standalone Applications
  • Java standalone applications uses GUI components such as AWT, Swing, and JavaFX. These components contain buttons, list, menu, scroll panel, etc. It is also known as desktop alienations.

    Example Of Java Program

    class Simple
    public static void main(String args[])
    System.out.println("Hello Java");

    Post a Comment