Comment on Tutorial - Hashtable example in Java By Ivan Lim



Comment Added by : Stephen

Comment Added at : 2012-06-09 06:36:23

Comment on Tutorial : Hashtable example in Java By Ivan Lim
Thanks for the tutorial.

One question: Since Hashtable is a generic requiring two types, shouldn't you specify the types, i.e.
Hashtable <String,Double> balance = new Hashtable<String,Double>();


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. mail goes as a single line statement, how to prese
View Tutorial          By: kishor at 2011-06-23 13:35:21

2. very nice keep sharing thanks a lot
View Tutorial          By: Adeel at 2014-09-24 09:50:00

3. Good work!

Few changes: polish oper

View Tutorial          By: Karol Z. at 2010-06-02 09:09:52

4. Hi MR,are you have java code to read sms...... tha
View Tutorial          By: ronized at 2008-12-29 16:59:27

5. This website is great for the students who want to
View Tutorial          By: Parth Patalia at 2009-11-19 21:09:24

6. Nice example. I think this is more idiomatic tho'.
View Tutorial          By: John Morrison at 2010-03-28 14:55:07

7. hey i need a sms recieving code....
View Tutorial          By: Kishore at 2009-08-06 09:11:13

8. i want to say only one thing

great

View Tutorial          By: ashish at 2009-06-09 21:36:45

9. Awesome code workings fro me thank you so much :)
View Tutorial          By: Shripad at 2012-01-24 08:58:03

10. This is starting program for me in j2me.This will
View Tutorial          By: Surya at 2010-07-26 03:29:47