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 the maximum length of a url?
Explain java coding standards for constants?
Where local and global variables are stored?
What is the use of 'super' keyword inside a constructor?
Write a program to print fibonacci series
What is the similarity between dynamic binding and linking?
What is the use of StringTokenizer class?
What are the legal operands of the instanceof operator?
When do you get classcastexception?
Difference between == and .equals() ?
What is int argc char * argv?
Why call by value prevents parameter value change?
What are different types of inner classes ?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
What is methodological framework?