I have

onebean.java file having

private String destinationOne;
private String destinationTwo;
private String destinationThree;
private String destinationFour;
private String destinationFive;
private String destinationSix;

and the corresponding set and get methods.

and Im using these set and get methods in another java file.

Here in onebean.java we have to implement the destinations as a list rather than individual destinationOne, etc fields.

Anyone of you please help me in doing this.

Thanks alot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.