Confusion with Java inner private classes and toString()

后端 未结 0 1897
难免孤独
难免孤独 2021-01-15 02:01

I have a project where I must use inner classes to declare types of food (created as \'Item\' objects); for example, Pancake:

private class Pancake {                  


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