This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maintain monthly data in a Quarter  RSS feed

 
Satish Nair
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am making a form in jsp where i want to maintain the data of students in a financial year.
For that i have 4 Quarters.In each Quarter i have 3 months.Is it right to make an ArrayList of each quarter.

eg.
ArrayList Quarter1=new ArrayList();

If ArrayList is the correct option then how do i add months into the ArrayList.
Any help would be highly appreciated.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mention JSP. Are you trying to create the HTML form? If so, no ArrayList required. Or are you trying to process the data somehow?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!