What is a compilation unit?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
a compilation unit resides on the jvm to convert the source
code into byte code after successful debugging
| Is This Answer Correct ? | 3 Yes | 1 No |
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 |
Is void a data type?
what is the difference between sleep() and Wait()?
What is numeric promotion?
Difference between current previous versions of Java?
What are assembly attributes?
Define Wrapper Classes in Java.
If try block is successfully executed, Then Is Finally block executed?
does java support pointers?
Is finalize() similar to a destructor?
How can you set an applet’s height and width as a percentage?
What is difference between array and arraylist in java?
Is hashset ordered?