Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Importing HashMap Class

 
Ram Adsumalli
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

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

HashMap UserMap = new HashMap(121) in the User.java 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

Thanks
Ram
 
Henry Wong
author
Marshal
Pie
Posts: 20999
76
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic