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
Does string is thread-safe in java?
How many types of memory areas are allocated by jvm?
how we can make a read-only class in java?
Explain oops concepts in detail?
What are parsing rules?
Is age discrete or continuous?
Explain about features of local inner class?
What are meta-annotations?
Can keyword be used as identifier?
Write a function to find out longest palindrome in a given string?
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Is singleton class immutable?
What are singleton services?
What is the synonym of string?