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
When should I use a singleton?
What are generic methods?
What are the types of strings?
What is multithreading in java?
What technique is carried out to find out if a particular string is empty?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is the difference between a method and a function in alice?
What is string value?
Write a program to solve producer consumer problem in java?
What is compiler and what its output.
What is the purpose of a volatile variable?
If try block is successfully executed, Then Is Finally block executed?
Can interface be private in java?
How to split arraylist elements in java?
Can we declare the static variables and methods in an abstract class?