class WithoutMain
{
static
{
System.out.println("This is a Program without a main method.");
System.exit(0);
}
}
Type: Posts; User: rahulr036; Keyword(s):
class WithoutMain
{
static
{
System.out.println("This is a Program without a main method.");
System.exit(0);
}
}