class A{
class B{
}
}
in which name u save the file,its the program compile?

Answer Posted / amulkumar

We can save the file using any name;
A.java or B.java

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can inner class final?

859


How do you get length in java?

769


What is the difference between preparedstatement and statement in java?

787


What is the this keyword?

759


Explain the difference between static and dynamic binding in java?

787


Difference between == and .equals() ?

738


What restrictions are placed on method overriding in java programming?

734


Which is bigger float or double java?

727


How can we access some class in another class in java?

762


What are packages in java?

868


What is increment in java?

714


Why is it called buffering?

810


How many bits is a char?

719


How many types of variables are there?

873


What is a prefix function.write down a code to compute prefix function.

749