public class Simple
{
static
{
System.out.println("Hello Java Program without main() function");
}
}Here, I am share code of how to create simple java program without main() function.
Here, I am share code of how to create simple java program without main() function.
public class Simple
{
static
{
System.out.println("Hello Java Program without main() function");
}
}