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 |
while creating thread why we extend thread class
Which class is used by server applications to obtain a port and listen for client requests?
What is method overloading in JAVA? Why is it not present in C ?
0 Answers Akamai Technologies,
What is downcasting?
What do you mean by garbage collection used in java?
Can we restart a dead thread in java?
What is ‘is-a ‘ relationship in java?
When we serialize an object does the serialization mechanism saves its references too?
IN java collections we have both interfaces and classes. instead of using interfaces why we can't use classes only like that why we can't use interfaces only. why we need two things interface and class.
Which class should you use to obtain design information about an object
What is the difference between private & public & friendly classes?
Why volatile is used in java?