It's not a secret anymore!
The moose likes Java in General and the fly likes Importing HashMap Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Importing HashMap Class " Watch "Importing HashMap Class " New topic

Importing HashMap Class

Ram Adsumalli
Ranch Hand

Joined: Oct 16, 2006
Posts: 64
Hi Guys,

I am in urgent need of this i created and hashmap like

HashMap UserMap = new HashMap(121) in the Class in the Package com.fdu.Test

Now I want to use the same HashMap in the another class Student in another package. In this class i need to put some key value pairs in the same HashMap the below is the pesudo code . can any one will this work out

Can any one help me will this pseudo Code work out

Henry Wong

Joined: Sep 28, 2004
Posts: 20147

Can any one help me will this pseudo Code work out

Work what out? Pseudo code is a high level (and informal) code, that is used to describe an algorithm. It is *not* real code. It's for your consumption. Question? Does the pseudo code convey the algorithm that you want? If yes, then it works.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
I agree. Here's the link:
subject: Importing HashMap Class
It's not a secret anymore!