Suppose that I have created a list of names, eg:
Martin
Paul
Diego
Damian
etc.
And I need to initialize respectively, for example (psuedocode):
Martin int = 0;
And you create them an Output same for all, which is (psuedocode):
System.out.println (Martin + "Martin foundn";
How to do this automatically?