Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.math.BigInteger;

public class Main {
    public static void main(String[] argv) throws Exception {
        byte[] bytes = new byte[] { 0x1, 0x00, 0x00 };
        BigInteger bi = new BigInteger(bytes);
        boolean b = bi.testBit(3);
        b = bi.testBit(16);
    }
}