mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Closing scanners.
This commit is contained in:
@@ -64,7 +64,6 @@ public class HexToOct {
|
||||
// convert decimal to octal
|
||||
octalnum = decimal2octal(decnum);
|
||||
System.out.println("Number in octal: " + octalnum);
|
||||
|
||||
|
||||
scan.close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user