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 / vijay
if i am taking in context of this question is interview
question to check our command on java knowledge
then......all the above are wrong except @Mohammad Faisal
Answer...all other answer only for java begienners for
avoiding confusion.
otherwise we can save our program with any name and after
compilation all the classes create its own .class file and
we run our program with that .class file which having the
public static main() method.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is empty list in java?
What does file separator do in java?
Why string is immutable or final in java
How to sort array in descending order in java?
Does chrome use java?
How strings are created in java?
Explain about static imports in java?
What is substring in java?
Compare java and python.
What is java full form?
What is finalize method?
Why are variables important in research?
Explain inner classes ?
What is time complexity algorithm?
Are strings immutable in java?