Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Hashmaps in jdk 1.4

807580Dec 15 2009 — edited Dec 16 2009
Hi All,

I am trying to work out on a previous jdk 1.5 code for hashmap to be converted to jdk 1.4,

public HashMap<String, String> getDispalyLinkUrls() throws SQLException {
HashMap<String, String> hashMapValues = new HashMap<String, String>();

My code looks like above...

I am getting an error, stating that invalide method declaration and return type required.. Please suggest me, in conversion of my code to jdk 1.4

Many Thanks!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 13 2010
Added on Dec 15 2009
9 comments
2,898 views