Let me elaborate...
In classA, hash map ,say I have 3 records like empNo,Employee
Now I need to get 3 values in class B... This is what I require...
HashA =new HashA<
String,Emloyee>
HashA.put("1",ABC);
HashB.put("2",XYZ);
HashC.put("3",LMN);
In CLassB:-->
If I do ClassA classA =new ClassA();
// This would mean a new object isn't it?
I have HashB=new HAshB<String,Employee>
I wrote...
HashB=classA.getHashA();