+ 1
What is -public , static , void , main, in java language?? I MEAN WHAT ARE THEIR MEANINGS
2 ответов
+ 5
"main" is the entry point of any java program.
"void" usually the return-type of a method, in this case none.
"static" means you must not initialize an object first.
and finally "public" means this method can be called from outside of the scope.
+ 1
thnx for answer