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
Why is the singleton pattern considered to be an anti pattern?
What is the driver class?
What is comparable and comparator interface? List their differences
How do you decide when to use arraylist and linkedlist?
How do you generate random numbers in java?
What are variable names?
What is the use of volatile in java?
What is difference overloading and overriding?
What is compareto () in java?
Is arraylist a class in java?
What is double parsedouble in java?
What is lexicographically smallest string?
What is the difference between Java and C++?
Is heap stored in ram?
Why Java doesn’t support multiple inheritance?