why java ? why we prefer java over the other

Posted on

How and why java is used ?

Java is referred to as plateform  unbiased language as a result of the java source code recordsdata (recordsdata with a .java extension) are compiled into a format referred to as bytecode (recordsdata with a .class extension), which can then be executed by a Java interpreter. Compiled Java code can run on most computer systems as a result of Java interpreters and runtime environments, identified as Java Digital Machines (VMs), exist for most working programs, together with UNIX, the Macintosh OS, and Home windows. Bytecode can additionally be transformed instantly into machine language directions by a just-in-time compiler (JIT).

Java can be used to create full functions that could run on a single laptop or be distributed amongst servers and shoppers in a community. It can additionally be used to construct a small utility module or applet for use as half of a webpage.

Small Java functions are referred to as Java applets and can be downloaded from a Net server and run on your laptop by a Java-compatible Net browser.

Functions and web sites utilizing Java will not work except Java is put in on your machine. When you download Java, the software program incorporates the  Java Runtime Surroundings (JRE) which is wanted to run in a Net browser. A element of the JRE, the Java Plug-in software program permits Java applets to run inside varied browsers.