mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-18 17:31:13 +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