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 a methodologist?

532


Explain the hierarchy of java exception classes?

598


What are the differences between the constructors and methods?

582


Where is java located?

500


Is an array a vector?

558






What is dynamic binding(late binding)?

590


how many types of Inheritance?

655


What is void keyword?

676


Can java object be locked down for exclusive use by a given thread?

586


List any five features of java?

568


Can a class be defined inside an interface?

565


What is output buffer?

570


How many types of design patterns are there?

531


Difference between static and dynamic class loading.

587


Give me some null interfaces in java?

605