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 matcher in java?
What are the 4 types of research methods?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
Does constructor return any value?
Write java program to reverse string without using api?
What is runtime locatable code?
what is difference betweem home interface and remote interface?
What is the inheritance?
Discuss about garbage collector in Java.
0 Answers Agilent, Integreon, ZS Associates,
What is Connection pooling? Explain Pros and Cons?
What is the static import?
Can we create a constructor in abstract class?