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 the purpose of the system class in java?
What is a native method in java programming?
how to split string in java?
What do you mean by byte code?
Same common question what is Map,Set,HashMap,List????
why constructor dont have returns type?
How do listeners work?
What is java and its types?
INTERVIEW QUESTION FOR ANDROID
Explain the difference between a Thread and a Process.
Using callable statement how can you pass out parameters, explain with example?
Does java support multiple inheritances?