class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / kalpana
output
-------
Inner classes cannot have static declarations
Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Why use string handling in Java?
What is the length of a string?
What happens to a static var that is defined within a method of a class?
Is static variable stored in heap?
Why is it important to initialize a variable?
What is the difference between path and classpath variables?
What is a buffer in computer?
What are design patterns and please explain?
What is jagged array in java?
What is the difference between && and & in java?
How are java objects passed to a method and what are native methods?
Can final class have constructor?
Can we have multiple classes in a single file?
What do you understand by garbage collection in Java? Can it be forced to run?
Does set allows null in java?