6 ♠What are arrays/fields?21
  • What is the accumulator pattern? What does the variable outside the loop do?
  • What is an array? How is it different from a single variable?
  • How do you access one element of an array? How do you find its length?
  • What is a field or instance variable? What is the getter/setter pattern? What is a constructor?
  • Distinguish between static vs non-static method and explain why getters and setters must be non-static.