1. Avoid creating unnecessary objects. Object creation is the more expensive operation in java.So, Create an objects when its required, public class Student { private List students; public List getStudents() { if(students == null) { students = new ArrayList(); } return students; } }