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
Explain about abstract classes in java?
Why hashcode is used in java?
What is a parameter in a function?
How many bytes are there?
What is the difference between class forname and new?
What is a boolean structure?
what are the methods in object?
What is difference between variable declaration and definition?
How to reverse string in java?
What is jar?
Write java program to reverse string without using api?
How do you create a first line indent?
What is an anonymous class in java?
How java enabled high performance?
What is package private scope in java?