Error of “variable might not initialized” while trying to use a class object as a parameter of a method, tried to use a IF to avoid the problem (JAVA)

前端 未结 0 973
野的像风
野的像风 2021-01-21 05:18

I\'m learning JAVA and I was making the code for a product sales system in a store as an example. So I created the Product, Customer and Sale classes.

In my menu I check

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