多选题
Given:
2. class Wheel {
3. Wheel(int s) {size = s; }
4. int size;
5. void spin() {System.out.print(size + "inch wheel spinning, "); }
6. }
7. public class Bicycle {
8. public static void main(String[] args) {
9. Wheel[] wa = {new Wheel(15), new Wheel(17)};
10. for(Wheel w: wa)
11. w.spin();
12. } }
Which are true? (Choose all that apply.)