Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.nio.ShortBuffer;

public class Main {
    public static void main(String[] args) {
        ShortBuffer bb = ShortBuffer.allocate(10);
        bb.put(new short[] { 100, 123, 123, 123, 1 }, 0, 1);
        System.out.println(bb.toString());

    }
}