How would one go about fully understanding Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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?

27th Feb 2017, 11:49 PM
Couch_Mango
Couch_Mango - avatar
2 Answers
+ 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)"
28th Feb 2017, 6:03 AM
seamiki
seamiki - avatar
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.
28th Feb 2017, 12:16 AM
Twelfty
Twelfty - avatar