File tree Expand file tree Collapse file tree
advanced/chapter16/solutions
beginner/chapter2/solutions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package 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
114111class 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
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments