File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ void main() {
2424}
2525```
2626
27- We call these primitives which might be null "Boxed Primitives" because you they are made by taking
27+ We call these primitives which might be null "Boxed Primitives" because they are made by taking
2828the underlying thing and putting it in a "box."[ ^ boxing ]
2929
3030
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ The type to use for a `boolean` that might be null is `Boolean`.
88Boolean b = null ;
99System . out. println(b);
1010b = true ;
11- System . out. println(true );
11+ System . out. println(b );
1212~ }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ void main() {
2828
2929## Challenge 2.
3030
31- Write a method which takes in a ` Integer[] ` representing
31+ Write a method which takes in an ` Integer[] ` representing
3232a series of distances and prints out every distance
3333followed by ` kilometers ` .
3434
@@ -50,7 +50,7 @@ void printDistances(Integer[] distances) {
5050}
5151
5252void main() {
53- printNames (new String [] {
53+ printDistances (new Integer [] {
5454 45,
5555 99,
5656 23
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ System.out.println(c);
1111~ }
1212```
1313
14- Unlike a ` char[] ` , a ` Character[] ` will not be have its contents
14+ Unlike a ` char[] ` , a ` Character[] ` will not have its contents
1515shown when printed.
1616
1717``` java
You can’t perform that action at this time.
0 commit comments