Java error “Value of local variable is not used”

后端 未结 7 1303
温柔的废话
温柔的废话 2020-12-06 18:00

I am really new to java (started learning 2 days ago). Sorry if this is a stupid question. I am trying to learn how to use rt.exec & similar methods so I tried to make a

相关标签:
7条回答
  • 2020-12-06 18:56

    you are not using main how can you compile please use main method. Ans second one is use p local variable in your method.other wise declare p variable starting of method.

    0 讨论(0)
提交回复
热议问题