Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

AP CSA Question of the Day May 28, 2026

Reference
  1. Incorrect Correct No Answer was selected Invalid Answer

    A constructor must: * Have the same name as the class (`Device`) * Have no return type * Avoid using the same parameter names as instance variables to prevent shadowing