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 is difference between fileinputstream and filereader in java?
Does list allow duplicates in java?
Can we override compareto method?
What is jvm? Why is java called the platform independent programming language?
How to sort array in descending order in java?
Write a java program to count the number of words present in a string?
Why is singleton not thread safe?
How large is a boolean?
What is private static in java?
What is Java Shutdown Hook?
Tell me the Importent classes in net package?
Why is string builder not thread safe?
What is the use of optional ?
what is the volatile modifier for? : Java thread
How do I get 64 bit java?