Home CPSC 330

Essay Exam 3

Due: December 4

Directions


Questions

  1. What does encapsulation mean?
  2. Some people criticize Java for requiring that all code be part of a class. Are there situations where this causes problems? Is object-oriented programming always the best approach?
  3. What is refactoring, and what is the benefit of it?
  4. What is multi-threading? Why would one write a multi-threaded program?

Submitting

Submit your answers by emailing them to ifinlay@umw.edu. Please email your answers as a PDF document.

Copyright © 2018 Ian Finlayson | Licensed under a Creative Commons Attribution 4.0 International License.