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
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
When is the finalize() called?
how to split string in java?
Explain runtime exceptions?
What is the difference between path and classpath variables?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
Explain working of call by reference function invoking.
Is double bigger than float?
Is there a sort function in java?
Can a class extends itself in java?
What does java edition mean?
What is the difference between Error, defect,fault, failure and mistake?
What is variable length arguments in java?
Which is better stringbuilder or stringbuffer?
What state is a thread in when it is executing?