class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / vipul
We can save the program by any name either A or B,
Program will compile but will not run......
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Is main an identifier?
How java is similar to c?
In the below example, what will be the output?
Why are functions called methods in java?
What is hash table in java?
What is java thread dump, how can we get java thread dump of a program?
What will be the default values of all the elements of an array defined as an instance variable?
What are the types of sockets in java?
What are the different types of collections 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.)
Can you pass by reference in java?
Explain the importance of join() method in thread class?
What is fail first in java?
Is final static java?
What is the purpose of default constructor?