0
In java program we class . What we want to use after class. The tutorial showing the phrase My class. Can i use any other insted
Of my class
2 odpowiedzi
+ 1
If you mean whether you can change MyClass at "class MyClass", Yes you can. It's a name of the class and you can name any you want.
0
you can
but if there is main() in the class and you are not on sololearn,
class name has to be same as file name