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 we able to pass objects as an arguments in java?
Which of the following classes will have more memory allocated?
Can we declare an array without size in java?
Can java list be null?
Can a static method be final?
What checkbox method allows you to tell if a checkbox is checked?
Explain about class in java?
What is the difference between the paint() and repaint() methods?
What is scope & storage allocation of static, local and register variables? Explain with an example.
JVM responsibility?
Is it possible to use string in the switch case?
In what type of containers, Border layout is a default layout?