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


Please Help Members By Posting Answers For Below Questions

What is the difference between length and size in java?

701


What is difference between static class and normal class?

741


Explain garbage collection in java?

736


Can we serialize static variables in java?

849


What is the locale class in java programming?

734


When would you use a static class?

742


What types of index data structures can you have in java?

848


What the difference is between execute, execute Query, execute Update?

564


What is java objectoutputstream?

727


How are the elements of a gridbaglayout organized?

770


What is the main purpose of java?

740


Difference between arraylist and hashset in java?

761


What is integer valueof?

844


What do you understand by overloading and overriding in java?

753


Explain the inheritance?

755