Answer Posted / shrirang & chetak
yes , we can overlode main method but we can not override
main method
example :
class a
{
public void main()
{
System.out.println("0.00000000");
}
public static void main(String ar[])
{
a A=new a();
A.main();
}
}
Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
What is void class in java?
What is e in java?
Is java se open source?
Write java program to reverse string without using api?
Is char a method in java?
Why convert an applet to an application?
What is the method to expand and collapse nodes in a jtree?
if u open login & logout ,how can udisplay the timelogin & logout members ?
Is arraylist dynamic in java?
What is multi level inheritance in java?
How do you access command-line arguments within the code?
What is java full form?
What is meant by call by reference?
Explain enumeration in java?
What is the difference between class forname and new?