BoxingGenericsExample.java Source code

Java tutorial

Introduction

Here is the source code for BoxingGenericsExample.java

Source

import java.util.*;

public class BoxingGenericsExample {
    public static void main(String args[]) {
        HashMap<String, Integer> hm = new HashMap<String, Integer>();

        hm.put("speed", 20);
    }
}