Skip to content

Commit 44713c4

Browse files
committed
revision 3
1 parent 0995938 commit 44713c4

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/com/codefortomorrow/advanced/chapter16/solutions/LinkedList.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
package com.codefortomorrow.advanced.chapter16.solutions;
22

3-
// UUID to represent each node's unique ID
4-
import java.util.UUID;
5-
63
/**
74
* @author ArmeetJatyani
85
* March 2021
@@ -113,11 +110,9 @@ public String toString() {
113110

114111
class Node {
115112

116-
private UUID ID;
117113
private int value;
118114

119115
public Node(int value) {
120-
this.ID = UUID.randomUUID();
121116
this.value = value;
122117
}
123118

src/com/codefortomorrow/beginner/chapter2/solutions/VariableTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void main(String[] args) {
1515
int age = 23;
1616

1717
// define a float variable on line 18
18-
float pi = 3.14f;
18+
float decimal = 23.32544f;
1919

2020
// define a double variable on line 21
2121
double decimal = 23.2352536d;

0 commit comments

Comments
 (0)