Hacker News new | past | comments | ask | show | jobs | submit login

Why not just explain it in less detail? Public so that java can see it. Static so it just lives here, no need to create objects. And void is that no value is returned, we will just print our results. Java calls it as program runs, thus main(). Btw, object is something you can create and call methods – functions of that object.

Static may be hard to understand, but it is something you just can do. You can say(hi) and that requires nothing, but you cannot drive() without a car.




You can't teach that without touching all the concepts you mention. These would be almost all later parts of the course.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: