We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 496d9dc commit 522e6d4Copy full SHA for 522e6d4
src/com/company/Main.java
@@ -108,4 +108,15 @@ class Cars {
108
List<Car> sedans = new ArrayList<>();
109
}
110
111
+
112
+ // 9.
113
+ void createAndInitializeNewField() {
114
+ class Automobile {
115
+ private List<Valve> valves;
116
117
+ public Automobile() {
118
+ valves = new ArrayList<Valve>();
119
+ }
120
121
122
src/com/company/Valve.java
@@ -0,0 +1,7 @@
1
+package com.company;
2
3
+/**
4
+ * Created by lily on 8/3/15.
5
+ */
6
+public class Valve {
7
+}
src/com/company/Wheel.java
+public class Wheel {
0 commit comments