如何制作一个动态的二维数组

时间:2018-09-14 23:55:21

标签: java arrays dynamic

我正在尝试制作一个半动态的二维数组。因此它不使用arrayLists并且不是完全动态的,用户可以在其中添加或删除元素,但是程序必须能够询问用户球队的数量,然后询问每个球队的名称以及每个球队的球员数量,以及最后是每个团队中每个球员的名字。以下是到目前为止我已经完成的工作。该代码运行,但不会输出团队和球员。请尽快提供帮助:)


"error": {
"code": "InvalidCreateRoleAssignmentRequest",
"message": "The request to create role assignment '{guid}' is not valid. Role assignment scope '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.Insights/components/{resourceGroupName}' must match the scope specified on the URI  '/subscriptions/{resourceGroupName}/resourcegroups/{resourceGroupName}'."
  }

0 个答案:

没有答案