Explain class A{}
class B{}
class C{}
all the three classes are saved in a single file name, what
the name should i provide to the file ,in what file name
should i run the program? Ple Explain
Answer Posted / cool_duzz
The name of the file should be the same as the class having
public access modifier.. otherwise u can put it the way u
like. 3 .class files will be generated by compiler.
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What flag up means?
What is the main method java?
Explain how to force the garbage collection in java.
What is the symbol for line break?
How do you use compareto method?
Why is whitespace important?
Is a boolean 1 bit?
What is an abstract class and what is it’s purpose?
What is the difference between object oriented programming language and object based programming language?
What are the main uses of this keyword?
Which sorting algorithm is best in java?
How do you clear a method in java?
What are constructors in java?
Give me some null interfaces in java?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)