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
How do you make a thread in java?
What does a method signature consist of?
What is static import?
Can you pass functions in java?
What are the differences between heap and stack memory in java?
What is a percentage sign called?
What are different ways of object creation in java ?
What are synchronized methods ?
Why do we create threads in java?
How do you escape json?
What is scope of a variable?
What variables are stored in stack?
How finally used under exception handling?
How do you do descending order in java?
What do you mean by hashing?