Using varargs to create an object in a class

前端 未结 0 1419
情话喂你
情话喂你 2021-02-13 13:21

I am trying to create a class called GameCharacter which represents a game character and has the following properties: • name (a String) • powers (a set of Power objects)

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