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



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. Great article! Simple and precise. Thanks!
View Tutorial          By: dz at 2014-10-06 04:36:56

2. Is it possible to define a class such that the pri
View Tutorial          By: Smithy at 2012-05-01 22:50:58

3. in this statement "void Reverse(string &t
View Tutorial          By: vinay at 2012-12-13 16:41:59

4. Hi hardik,

RMS sample program is av

View Tutorial          By: Daniel Malcolm at 2008-03-29 19:46:18

5. Hello,
i was run your given program in ecli

View Tutorial          By: vishnu chauhan at 2013-01-24 11:42:16

6. HI Friends,

I am new to java and i

View Tutorial          By: Srini at 2015-04-05 17:00:58

7. I need a sample jsp(using Struts html tags) in thr
View Tutorial          By: Anil Kumar at 2008-10-23 04:14:51

8. Nice article
View Tutorial          By: Chakravarthy at 2009-06-09 23:29:09

9. very good
View Tutorial          By: Deepika at 2012-03-26 07:00:29

10. it is very easy to understand to the learners.
View Tutorial          By: venkat at 2010-06-19 02:37:36