mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-18 17:31:13 +08:00
Closing scanners.
This commit is contained in:
@ -53,6 +53,7 @@ class DecimalToBinary {
|
||||
n >>= 1;
|
||||
}
|
||||
System.out.println("\tBinary number: " + b);
|
||||
input.close();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user