Tuesday, 17 September 2013

Creating dynamic object names-- Java

Creating dynamic object names-- Java

Hey i need to dynamically name an object
something like this:
for (int i = 0; i<5; i++)
{
Object i = someobject();
}
Im using apache POI and it requres the sheet names to be different and
since im doing a loop I cant hardcode the sheet name
SXSSFSheet sheet

No comments:

Post a Comment