This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Beans

 
Mittal Mistry
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there.
I want to create array of bean.
I have writen this code..will it works?

KeywordBean[] keywordBean;

for(int i=1;i<=keywordsArray.size();i++)
{
keywordBean[i].setKeyword((String)keywordsArray.get(i));
}
return keywordBean;

I dont know size of my bean. It will dynamic.
Please help me out..
[ May 18, 2006: Message edited by: Mittal Mistry ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic