Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Dukker Jansen   on Nov 10 In Java Category.

  
Question Answered By: Dominic Murphy   on Nov 10

Would you please let me know why you need 8 variables  when you have 8 records  in DB? As far as I know, you should map your records to your object instances while you are mapping DB fields into member  variables of a class. To hold a list of instances corresponding to your DB records, I think you should use Collections or Maps.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Declaring Member Variables Dynamically Or get search suggestion and latest updates.