Merge pull request #347 from YooSeonjae/master

Modifying HexaDecimalToBinary.java
This commit is contained in:
Varun Upadhyay 2017-12-09 13:06:20 -08:00 committed by GitHub
commit 909de5600f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ import java.util.*;
import java.util.Scanner;
import javax.swing.*;
public class HexaToBin {
public class HexaDecimalToBinary {
private final int LONG_BITS = 8;
@ -28,10 +28,10 @@ public class HexaToBin {
//Testing Numbers:
String[] hexNums = {"1", "A1", "ef", "BA", "AA", "BB",
"19", "01", "02", "03", "04"};
Convert objConvert = new Convert();
HexaDecimalToBinary objConvert = new HexaDecimalToBinary();
for (String num : hexNums) {
objConvert.convert(num);
}
}
}
}