Java: Calling Object in Method Outside of Main with Static Methods

前端 未结 0 1149
情话喂你
情话喂你 2020-12-20 10:38

Should be an easy fix but I was wondering how to use an object that is created in main. I tried to say Human h; outside of main (or any other methods) so I could call it in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题