class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / venkat
We can sava it as any class name in it. But it will not
compiled
inorder to the without of mainclass.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is internal iteration in java se 8?
What is the default access specifier for variables and methods of a class?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What is static block?
What is an iterator interface in java programming?
Give reasons supporting that string is immutable.
Can we clone singleton object in java?
How much ram can a 64 bit processor theoretically?
how we can make a read-only class in java?
What is an eror in java?
What is the internal implementation of set in java?
What is equlas() and hashcode() contract in java? Where does it used?
How do you define a set in java?
Which class is the superclass for every class in java programming?
What are the 8 data types in java?