Answer Posted / priyabrata patro
Compilation unit is .class file , i mean to say here
let's assume that below class as an instance
class Demo
{
public static void main(String args[])
{
System.out.println("hello");
}
}
//>javac Demo.java
once this is executed you will have Demo.class file which is compilation unit for jvm.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is meant by singleton class?
How many types of exception can occur in a java program?
How is Object Oriented Programming different from Procedure Oriented Programming?
What happens if main method is not static?
What is tree in java?
What is import java util arraylist?
How do you reverse a word in java?
Is string a data type in java?
What is string in java with example?
how to deploy apache tomcat server to weblogic server in java
What is an arraylist in java?
What is functional interface in java?
How many types of methods are there in java?
What are packages in java?
Why static functions are used?