mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
Format code with prettier (#3375)
This commit is contained in:
@@ -22,9 +22,20 @@ public class HexaDecimalToBinary {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
// Testing Numbers:
|
||||
String[] hexNums = {"1", "A1", "ef", "BA", "AA", "BB", "19", "01", "02", "03", "04"};
|
||||
String[] hexNums = {
|
||||
"1",
|
||||
"A1",
|
||||
"ef",
|
||||
"BA",
|
||||
"AA",
|
||||
"BB",
|
||||
"19",
|
||||
"01",
|
||||
"02",
|
||||
"03",
|
||||
"04",
|
||||
};
|
||||
HexaDecimalToBinary objConvert = new HexaDecimalToBinary();
|
||||
|
||||
for (String num : hexNums) {
|
||||
|
||||
Reference in New Issue
Block a user