Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Java Beans

  Asked By: Gene    Date: Oct 26    Category: Java    Views: 810
  

Could any body help me in this case??

Bean b1 = new Bean();
Bean1 b2 = new Bean1();
How would I add these two beans to hashtable htDetails?? Already one beans has
been added b2.getapp1())???
(String)b1.getappr();
(String)b1.getcomm();
appDetails is a arraylist
key:String)b1.getMon()
for(int j=0;j<appDetails.size();j++){

b2 = (Bean) appDetails.get(j);

htDetails.put((String)b1.getMon()+(String)b1.getYear(),(String)b2.getapp1());


}

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Java Beans Or get search suggestion and latest updates.




Tagged: