I am new to JAVA, and I like to try and understand everything.
When accessing a static method \"hero.returnHp()\" in JAVA, I have the following:
he
static means a static way. One reason to use static is you can access it using class directly. that is its benefit. that is why main is always static. The entrance function don't need to create an instance first. Actually if you search static in google, and understand it deeply. U will know when and why use static.