It is possible.we can easily invoke a main() of a class from another class.
I show u demo here.
//Class Test
public class Test
{
public static void main(String args[]) //Main Method which is
//Invoked by another class Testing
{
System.out.println( Test Class main() Method is Called );
}
}
//Class Testing
public class Testing
{
public static void main(String args[])
{
if (args.length! 0)
{
Test.main(args);// Main method of Test Class is Calling
}
}
}