mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-19 09:50:03 +08:00
Closing scanners.
This commit is contained in:
@ -59,6 +59,7 @@ public class OctalToHexadecimal {
|
||||
// Pass the decimla number to function and get converted Hex form of the number
|
||||
String hex = DecimalToHex(decimal);
|
||||
System.out.println("The Hexadecimal equivalant is: " + hex);
|
||||
input.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user