IT 114: Introduction to Java
Class 30 Ungraded Quiz

  1. What do you call the practice of hiding the internal details of how a class works from users of that class?


  2. What keyword do you use to implement data-hiding for a field?


  3. Can a method throw an exception?


  4. How to you implement data-hiding for a field?


  5. What methods must we create if we implement data-hiding for fields?