/* Existing functionality relating to the data can also be incorporated into the new class, reducing the risk of scope collision */ public void welcomeNew() { System.out.printf("Welcome %s %s, a %d-year-old %s from %s who works as a%s\n", firstName, lastName, age, gender, city, occupation); } /* Additionally, the new class may be an opportunity for new functionality to be added */ public void work() { System.out.printf("This is %s working hard on %s in %s", firstName, occupation, city); } } Although this has increased the length of the code, now the single Person can easily be passed around as one object, rather than as a variety of (seemingly unrelated) fields. Additionally, this gives the opportunity to move associated methods into the class so that they can easily operate upon individual instances thereof. These methods no longer require passing around a tedious list of parameters, as they are instead stored as instance variables upon the object instances themselves. References Object-oriented programming Articles with example Java code