mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-18 17:31:13 +08:00
Closing scanners.
This commit is contained in:
@ -34,7 +34,7 @@ public class HexaDecimalToDecimal {
|
||||
and it returns the decimal form in the variable dec_output.
|
||||
*/
|
||||
System.out.println("Number in Decimal: " + dec_output);
|
||||
|
||||
scan.close();
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user