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 |
What is role of void keyword in declaring functions?
Explain inner classes ?
What does this () mean in constructor chaining concept?
I have a Arraylist object, it has duplecate values also. Now question is i want delete duplecate data in that objet with out using Set?
What is the use of static keyword in "public static void main()"
10 Answers College School Exams Tests, Infosys, Six Dee Telecom,
Is multiple inheritance supported by java?
What is java object name?
How to do a true java ping from windows?
What is volatile data type?
Can you add null to a list java?
What are the parts of methodology?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?