Some help would be appreciate it with a method on Java : I have a list that contains three objects:
Object1, Object2, Object 3.

When I call the toString method for each object this is the result:

Letter of the object: A;   Number of the object: 1.

Letter of the object: B;   Number of the object: 2.

Letter of the object: C;   Number of the object: 3.

So what I want this method to do is put all of that information in a String.
So my method is:

public String method1 (){//And here is where its supposed to do that stuff}

I know how to take a list and go through it so I can cast the toString in each and every one of the objects thats inside my list, but what I dont know how to do is how to put all of this toString information of all the objects that are on my list on a single String variable, so my method returns a string with all of that information.