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 difference between access specifiers and access modifiers in java? 16
What is difference between identifier and variable?
Difference between static methods, static variables, and static classes in Java.
Explain a situation where finally block will not be executed?
What is low level language in computer?
What is command line argument in java?
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?
why java main method is given as static method?
Name the package that most of the AWT events that supports event-delegation model are defined?
what are the purposes of native, transiant key words?
Explain the difference between hashmap and hashtable in java?
What is singleton class?
16 Answers 3i Infotech, 7 Seas, ABC, Amdocs, Cap Gemini, Oracle, Persistent, TCS, Techforza,