Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.nio.LongBuffer;

public class Main {
    public static void main(String[] args) {
        LongBuffer bb = LongBuffer.allocate(10);
        bb.put(100);

        bb.rewind();
        System.out.println(bb.get(0));

    }
}