Question Locked

Runtime error?

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

class a(
public static int main(string args[])
{
system.out.println("hello");
return 1;
}
)

this gives a runtime error? why?

2 replies

This discussion is closed to new replies.