class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / venkat
We can sava it as any class name in it. But it will not
compiled
inorder to the without of mainclass.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What does sprintf mean?
What is the flag in java?
Is c better than java?
Using callable statement how can you pass out parameters, explain with example?
What is the purpose of the runtime class in java programming?
What is bubble sort in java?
What is the difference between a loader and a compiler?
Why are getters and setters used?
What’s the difference between callable and runnable?
What are the differences between string and stringbuffer?
Why do we need autoboxing in java?
What is a null class?
Is string a class in java?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
What is method overriding in java ?