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
How to sort double array in java?
What is data object example?
What is advantage of java?
Why to use nested classes in java?
Can we write class inside a class in java?
What does main method?
what is the difference between yielding and sleeping? : Java thread
What is the difference between int and integer in java?
How to provide security in java
How to retrieve data from database in java using arraylist?
Why is singleton class used?
What is difference between variable declaration and definition?
What is the definition of tree ?
Where are variables stored?
What is the Concept of Encapsulation in OOPS