Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.BitSet;

public class Main {

    public static void main(String[] args) {

        BitSet bitset1 = BitSet.valueOf(new byte[] { 1, 2, 3 });

        // print the sets
        System.out.println("Bitset1:" + bitset1);

    }
}