The bytecode. Java is compiled to be a byte code which is
the intermediate language between source code and machine code. This byte code
is not platform specific and hence can be fed to any platform.
7) What is classloader?
The classloader is a subsystem of JVM that is used to load
classes and interfaces.There are many types of classloaders e.g. Bootstrap
classloader, Extension classloader, System classloader, Plugin classloader etc.
8) Is Empty .java file name a valid source file name?
Yes, save your java file by .java only, compile it by javac
.java and run by java yourclassname Let's take a simple example:
//save by .java only
class A{
public static void main(String args[]){
System.out.println("Hello java");
}
}
//compile by javac .java
//run by java
A
compile it by javac .java
run it by java A
9) Is delete,next,main,exit or null keyword in java?
No.
10) If I don't provide any arguments on the command line,
then the String array of Main method will be empty or null?
It is empty. But not null.