class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / vipul
We can save the program by any name either A or B,
Program will compile but will not run......
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What do you mean by multithreaded program?
Does hashset allow duplicates in java?
What is yield () in java?
How to access arraylist elements in java?
what is object slice?
What does the append?
what is nested class in java?
What are some alternatives to inheritance?
What is difference between jdk,jre and jvm?
What is meant by class loader? How many types are there? When will we use them?
Explain the difference between abstraction and encapsulation.
How to change the priority of thread or how to set priority of thread?
What occurs when an object is constructed?
How do you achieve singleton?
What is are packages?