Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.nio.DoubleBuffer;
import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        DoubleBuffer bb = DoubleBuffer.wrap(new double[] { 98765, 98765 });

        bb.rewind();

        System.out.println(Arrays.toString(bb.array()));
    }
}