//Multiple main methods in One Application - Save this program as "multiplemain.java"
class ma
{
public static void main(String args[])
{
System.out.print("ma");
}
}
class mb
{
public static void main(String args[])
{
System.out.print("mb");
}
}
public class multiplemain {
public static void main(String args[])
{
System.out.print("main");
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment