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 |
Can a class extend 2 classes in java?
What is the gregoriancalendar class in java programming?
What are the basic interfaces of java collections framework?
aabccdee Find the used alphabets as abcde ?
Can we write any code after throw statement?
How do you check if two given string are anagrams?
What is deadlock and how to avoid this?
What is the numeric promotion?
Can we create constructor in abstract class ?
What is hashmap in java?
What is the program development process?
Define package in Java.