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 / dipil t t
class A{},class B{}and class C{} Shold be public then we
can select main class name is the file name.
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Can we pass a primitive type by reference in java? How
What is sizeof () operator?
Differentiate between the constructors and methods in java?
Why does java not support pointers?
Difference between current previous versions of Java?
What is meant by singleton class?
What is the transient keyword?
When is the garbage collection used in Java?
Can a class be private?
Explain about the performance aspects of core java?
What is jar?
What does system.gc() and runtime.gc() methods do?
How to use Media tracker Class.
What is java abstraction with example?
What are methods in java?