Menu
Topics Index
...
`


Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank and Mike Sheridan at Sun Microsystems, Inc in 1991. Initially it was called Oak, later it was changed to Java in 1995.

  • Java's primary motivation was platform independence and not internet. Platform independence means the ability to write a program on one platform and run it on any other platform without worrying about the platform specific features, which is nothing but a portable software. If it works on one platform, it should work on all other platforms. e.g., platforms are Unix, Mac, Windows, Android. The main motive behind Java invention is to introduce a feature called Java Portability.

    Platform independence could be achieved for a C/C++ program, by compiling it for every platform. But C/C++ compilers are expensive to build and also there could be differences between platforms which causes inconsistencies in the program execution. So achieving portable software using C/C++ is difficult and error prone. This is also referred as WOCA = Write Once, Compile Anywhere.

    Creation Of Java for Platform Independence - WOCA,Write Once Compile Everywhere,Write Once Compile Anywhere


    A simpler cost effective solution is to use portable, platform independent code that runs on variety of CPU's under different environments. Java uses Java Bytecode, which is a intermediate set of instructions, that helps achieving this platform independence. This is also referred as WORA = Write Once, Run Anywhere.

    Creation Of Java for Platform Independence - WORA,Write Once Run Everywhere,Write Once Run Anywhere


  • World Wide Web (Internet) made Java more important. Since Internet is connected with systems of different CPU's and environments, it is required to have programs which run on any CPU or operating system or platform. Since Java was platform independent and could run on all the famous platforms like Intel, Mac, Unix etc., it was extensively used. So most of the new internet programs were written in Java making it more famous. More details available at Java And Internet - Creating Java Applet.
  • Java is not 'Internet version of C++'. Although Java is similar to C and C++, Java is not designed to replace them. Java uses the syntax of C and improves on the Object oriented (OO) concepts of C++. But there is additional support in Java for internet programming. Also Java and C++, are not code compatible, which means code written in one language can not be compiled in the other language. So if we want to change a program from C++ to Java, it has to be completely rewritten. But programmers experienced with C and C++ can easily learn Java and rewrite the code.
    Java and C/C++ will continue to coexist, since Java solves certain problems and C/C++ solves certain other problems.
  • Java and C# connection Java's innovative features, constructs and concepts have become part of baseline of any new language. C# created by Microsoft is very similar to Java. This is a good example which emphasizes the importance and usage of Java as a computer programming language.

2-min video about creation of Java and WORA

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App