Question: Why would you make a field private?

  1. so only methods in the same file can access the field
  2. so only methods in the same package can access the field
  3. so only methods in the same class could access the field
  4. so only methods defined in a Java class can access the field

Answer: The correct answer of the above question is Option C:so only methods in the same class could access the field