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

Answer Posted / neelanand

Since the program is compiled, we can save it with any
filename with .java extension eg. abc.java

but if you want to use it into other program we must save
it with the A.java

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread pool in java with example?

637


What is __ init __ functions?

653


What is indexof?

628


What language is java written?

633


How many wrapper classes are there in java?

642






Explain about member inner classes?

703


What is difference between wait and notify in java?

648


What is meant by string is immutable?

610


Explain an intermediate language?

587


Are static members inherited to sub classes?

743


What is data type in java?

575


What is thread count in java?

629


Why set do not allow duplicates in java?

670


Convert Binary tree to linked list.

704


What is a class reference?

649