This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
using an object in other class...
Joined: Oct 27, 2009
Nov 23, 2009 03:06:09
In classA, hash map ,say I have 3 records like empNo,Employee
Now I need to get these 3 values in class B...
I wrote :---
HashA hmapA=new HashA<
,Emloyee> (having getters and setters)
If I do ClassA classA =new ClassA();
// This would mean a new object isn't it?
I have HashB hMapB=new HAshB<String,Employee>
I am getting null in the above!
Joined: Oct 22, 2009
Nov 23, 2009 03:20:40
Joined: Oct 13, 2005
Nov 23, 2009 04:30:42
Embla Tingeling wrote:
Thank you for noticing (
). Closing thread.
I agree. Here's the link:
subject: using an object in other class...
q rom overalltesting.com
Thread - Wait() and Notify();
Sorting arraylist on the basis of object
Need help parsing XML based text to java code
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015