Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.HashMap;

public class Main {

    public static void main(String[] args) {
        HashMap<String, int[]> h = new HashMap<String, int[]>();
        h.put("PID", new int[] { 1, 2 });

        System.out.println(h.get("PID")[0]);
        System.out.println(h.get("PID")[1]);
    }
}