Enhanced For Loop - Array of Objects

前端 未结 3 1853
南方客
南方客 2021-02-06 05:42

Ok so I have a class called Dog() which takes two parameters, a string and an integer.
This class has a method called bark(), which prints a string depending on the intege

3条回答
提交回复
热议问题