class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / jasbir yadav
We can save the file as A.java
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is a class in java?
What is data member in java?
What is the purpose of stub and skeleton?
Where import statement is used in a java program?
Tell me about your ability to work under pressure
What are static blocks in java ?
What is flag in java?
Can we have two main methods in a java class?
Does java linked list allow duplicates?
Why for each loop is used?
Is Constructor possible in abstract class in java ?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
Which collection is thread safe in java?
How is final different from finally and finalize?