Java only making .class file but not running program -
this question has answer here:
only making .class
file not running program.
class shayan { public static void main(string args[]) { system.out.println("shayan"); } }
your class not declared public. additionally convention in java start classes upper case letter - should called shayan.
Comments
Post a Comment