0
How would one go about fully understanding Java?
I sort of understand it, but there's some things that Solo Learn doesn't explain very well. For example, the terminology used in coding isn't really explained in a way that the average person could look at it and tell what it means. What does each part of the code "public static void main(string[] args)" mean, in detail, an when should it be used?
2 Antworten
+ 2
you' ll better understand when you get to the functions and then the OOP section of the course.
until that time you won't need more than just remembering to start your code with "public static void main(string[] args)"
0
Roughly speaking,
The method "main" is called first when java app launches.
"public" means this method can be called from outside.
"static" means this method is called without instance.
"void" means this method does not return any value.
String[] args contains command line arguments which are given with java running command.