Results 1 to 2 of 2
  1. #1
    raj reddy is offline Member
    Join Date
    Apr 2008
    Posts
    31
    Rep Power
    0

    Default how can we get the element of by using the hashtable

    a1 table

    A B

    2 1

    2 2

    2 3

    2 4

    2 5


    3 8

    4 9

    4 7







    how can we get the element of 3 of columnn A in table a1 by using the hashtable



    my code: al2.put(3,rs1.getString("tktkey"));(not giving the value)
    Last edited by raj reddy; 04-30-2008 at 02:52 PM.
    reddy

  2. #2
    abhishek paul is offline Member
    Join Date
    Apr 2008
    Posts
    3
    Rep Power
    0

    Default

    ..please explain what the issue is clearly:confused:.What are the key-value pairs that have been used to create the Hashtable?What should be the desired result?


    Regards,
    Abhishek.

Similar Threads

  1. HashTable vs HashMap
    By bugger in forum New To Java
    Replies: 7
    Last Post: 01-06-2011, 04:15 PM
  2. Hashtable example
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-15-2008, 09:43 AM
  3. Hashtable-put method
    By new_1 in forum New To Java
    Replies: 1
    Last Post: 12-23-2007, 08:07 PM
  4. HashTable problem
    By jhetfield18 in forum New To Java
    Replies: 2
    Last Post: 12-16-2007, 11:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •