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 does jre stand for?

609


What happens if main method is not static?

499


What methods are used to get and set the text label displayed by a button object?

555


Is static a singleton?

527


What is type inference in java8?

580






What is the difference between Java and C++?

615


How can you set an applet’s height and width as a percentage?

515


What is the difference between equals() and?

589


What are 3 data types?

548


Can keyword be used as identifier?

548


What is jagged array in java?

533


What are some examples of variable costs?

495


What is break and continue statement?

616


Can a class be private?

519


How many types of assembly languages are there?

529