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 / aburar yaseen
we have to have the file name of the class having main
function. if all the three classes are having the main
method we can have any one of the class name as file name.
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is the difference between exception and error in java?
What is unsigned char?
What is the difference between a switch statement and an if statement?
What is sizeof () operator?
What is the difference between stringbuffer and stringbuilder?
What are the differences between processes and threads?
Can a class with private constructor be extended?
Explain the differences between static and dynamic variables?
What is the java virtual machine?
Why is java so popular?
What is a values collection view ?
How to store image in arraylist in java?
Write a program to find the whether a number is an Armstrong number or not?
How does callback work in java?
What is the difference between length and length() method in java?