0
myClass a = new myClass();
for (Object o : a.getList()) system.out.println("hi");

Should I first make a variable to hold a.getList(), or is the above code okay?

Sam Estep
  • 12,633
  • 2
  • 35
  • 67
Ben
  • 3
  • 1
  • 3

0 Answers0