Skip to content

Commit 0a3b445

Browse files
committed
modified error
1 parent 382eb2f commit 0a3b445

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Conversions/HexaDecimalToBinary.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.Scanner;
44
import javax.swing.*;
55

6-
public class HexaToBin {
6+
public class HexaDecimalToBinary {
77

88
private final int LONG_BITS = 8;
99

@@ -28,10 +28,10 @@ public static void main(String[] args) {
2828
//Testing Numbers:
2929
String[] hexNums = {"1", "A1", "ef", "BA", "AA", "BB",
3030
"19", "01", "02", "03", "04"};
31-
Convert objConvert = new Convert();
31+
HexaDecimalToBinary objConvert = new HexaDecimalToBinary();
3232

3333
for (String num : hexNums) {
3434
objConvert.convert(num);
3535
}
3636
}
37-
}
37+
}

0 commit comments

Comments
 (0)