Thank You Mr. William Brogden and Stan James,
I have one more doubt here,I have written a java program like below
public static void main(
String[] args)
{
String[] s=new String[2];
s[0]="A";
s[1]="C";
SubTest.main(s);
MyInterface.main(s);
System.out.println("Subtest Called");
MultipleMains.main(s);
}
In the above code i have called 3 main() methods but only MultipleMains.main(s) is executed.The rest of the two main() methods are not executed,May i know the reason Why?Can anybody clarify my doubt?
Regards,
Pavan
[ October 12, 2006: Message edited by: Pavan Chillara ]