What is a compilation unit?

Answers were Sorted based on User's Feedback



What is a compilation unit?..

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

What is a compilation unit?..

Answer / 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

More Core Java Interview Questions

What is the purpose of the system class in java?

1 Answers  


What is a native method in java programming?

1 Answers  


how to split string in java?

1 Answers  


What do you mean by byte code?

1 Answers  


Same common question what is Map,Set,HashMap,List????

4 Answers   Symphony,


why constructor dont have returns type?

9 Answers   IBM,


How do listeners work?

1 Answers  


What is java and its types?

1 Answers  


INTERVIEW QUESTION FOR ANDROID

0 Answers  


Explain the difference between a Thread and a Process.

1 Answers   Ciena,


Using callable statement how can you pass out parameters, explain with example?

1 Answers  


Does java support multiple inheritances?

1 Answers  


Categories