0
ways to run java program without main function ?
is it possible to run without main
4 Réponses
0
no...y because every Java programs have method to use the results
0
oops sorry .. but a java prog. can run without main funct. :)
- 1
using static block
- 1
using jdk version less than 1.7 you can run
static
{
sop ("java");
System. exit (0);
}