public static void main(String args[]) {
        try {
            final String str_sysORTable = "1.3.6.1.2.1.1.9";
            final String str_sysOREntry = "1.3.6.1.2.1.1.9.1";
            final String str_sysORIndex = "1.3.6.1.2.1.1.9.1.1";
            final String str_sysORID = "1.3.6.1.2.1.1.9.1.2";
            final String str_sysORDescr = "1.3.6.1.2.1.1.9.1.3";
            final String str_sysORUpTime = "1.3.6.1.2.1.1.9.1.4";
            final ManagedInstance sysORID = new ManagedInstance(str_sysORID);
            final ManagedInstance sysORDescr = new ManagedInstance(str_sysORDescr);
            final ManagedInstance sysORUpTime = new ManagedInstance(str_sysORUpTime);
            final Hashtable columns = new Hashtable();
            columns.put("sysORIndex",  new Integer(1));
            columns.put("sysORID",  new Integer(2));
            columns.put("sysORDescr",  new Integer(3));
            columns.put("sysORUpTime",  new Integer(4));
            Arguments a = new Arguments("SnmpGet");
            a.parse(args);
            SnmpManager manager = a.generateManager();
            Table managedObject = new Table(manager);
            System.out.println("Retrieve a table as a HashTable");
            VarbindList vbl = new VarbindList();
            vbl.addVarbind(sysORID.createVarbind());
            vbl.addVarbind(sysORDescr.createVarbind());
            vbl.addVarbind(sysORUpTime.createVarbind());
            Hashtable h = managedObject.coreGetTable(new Hashtable(), vbl);
            Enumeration h_cells = h.elements();
            while (h_cells.hasMoreElements()) {
                 ManagedInstance mi = (ManagedInstance)h_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            }
            System.out.println("Retrieve a table as a Vector");
            Vector v = managedObject.coreGetTable(new Vector(), vbl);
            Enumeration v_cells = v.elements();
            while (v_cells.hasMoreElements()) {   
                 ManagedInstance mi = (ManagedInstance)v_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            } 
            System.out.println("Retrieve a column as HashTable");
            h = managedObject.coreGetColumn(new Hashtable(), str_sysORID);
            h_cells = h.elements();
            while (h_cells.hasMoreElements()) {
                 ManagedInstance mi = (ManagedInstance)h_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            }
            System.out.println("Retrieve a column as Vector");
            v = managedObject.coreGetColumn(new Vector(), str_sysORID);   
            v_cells = v.elements();
            while (v_cells.hasMoreElements()) { 
                 ManagedInstance mi = (ManagedInstance)v_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            }
            System.out.println("Retrieve a row as HashTable");
            h = managedObject.coreGetRow(new Hashtable(), vbl, "1");
            h_cells = h.elements();
            while (h_cells.hasMoreElements()) {
                 ManagedInstance mi = (ManagedInstance)h_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            }
            System.out.println("Retrieve a row as Vector");
            v = managedObject.coreGetRow(new Vector(), vbl, "1");
            v_cells = v.elements(); 
            while (v_cells.hasMoreElements()) {
                 ManagedInstance mi = (ManagedInstance)v_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            }
            System.out.println("Retrieve the next row as HashTable");
            h = managedObject.coreGetNextRow(new Hashtable(), vbl, "1");
            h_cells = h.elements();
            while (h_cells.hasMoreElements()) {   
                 ManagedInstance mi = (ManagedInstance)h_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            }   
            System.out.println("Retrieve the next row as Vector");
            v = managedObject.coreGetNextRow(new Vector(), vbl, "1");
            v_cells = v.elements();
            while (v_cells.hasMoreElements()) {
                 ManagedInstance mi = (ManagedInstance)v_cells.nextElement();
                 System.out.println("Name: " + mi.name + " value: " + mi.value);
            }
        } catch (Exception e) {
            System.out.println(e.getMessage());
            e.printStackTrace();
        }
    }