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
How do you override a method in java?
Define how objects are stored in java?
What is the difference between equals() and?
Difference between vector and arraylist.
how does the run() method in runnable work? : Java thread
Can we define constructor in inner class?
Can a static method be overridden in java?
What is this () in java?
What is string syntax?
What language is pass by reference?
Which object oriented concept is achieved by using overloading and overriding?
What programs use java?
Differentiate between a constructor and a method? Can we mark constructors final?
Is null or empty java?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me