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


Please Help Members By Posting Answers For Below Questions

What do you mean Abstraction in java?

599


How does split work in java?

526


What is the meaning of flag day?

527


What is the purpose of using java.lang.class class?

513


What are strings in physics?

533






How many ways can you break a singleton class in java?

477


What are the legal operands of the instanceof operator?

552


What is a list in java?

494


Will the jvm load the package twice at runtime?

563


What do you know about java?

513


Differentiate between stringbuffer and string?

585


What is type safety in java?

478


What is the purpose of using break in each case of switch statement?

559


What is pre increment and post increment in java?

493


Explain the concept of proper inheritance?

603