|What is Java?|
|Java vs Other Languages|
|Java on Internet|
|Java First Program|
|Java Commandline argument|
|Java Types of Variables|
|Java Getting Input from User|
|Java Math Functions|
|Java if statement|
|Java if-else statement|
|Java nested if-else|
|Java else-if ladder|
|Java Switch case statement|
|Java Nested Switch Case|
|Java Ternary/Conditional operator|
|Java while loop|
|Java do-while loop|
|Java for loop|
|Java Enhanced loop/for each loop|
|Java Labelled for loop|
|Java Nesting of loops|
|Java Break and Continue|
|Java Keywords Dictionary|
|Java Interview Questions|
The evolution of internet helped to make a java as leading programming language.
Over the network there are two categories of objects that are transmitted between the server and client computers:
A self-executing program is dynamic data. This data is called as active agent on the client computer.
Active type of object can be transmitted to your computer: a dynamic, self-executing program.
these objects are in the form of information and active programs. When an email is viewed it is viewing the passive data. A downloaded program until it is executed is called as passive data.
Ex-when you read your e-mail, you are viewing passive data. Even when you download a program, the program's code is still only passive data until you execute it.
A Java applet is a small dynamic Java program that can be transferred via the Internet and run by a Java-compatible Web browser.
Java is protecting users from programs downloaded from sources across a network.
The Java compiler catches more compile-time errors than other languages (like C++) because it will compile programs that produce unpredictable results.
In java compiler translates the source code into byte code, no any virus will infect the byte code. Even if the virus entered into byte code the JVM doesn't understand it, so JVM keeps these instructions as it is.
Portability means Write Once and Run Anywhere(WORA).Portability enables an application to be run of any platform/OS without changing the code.
When we compile a java program a .class file is generated .This is known as byte code. We can run this .class file in any System with JVM.