Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

AP CSA Question of the Day Feb. 26, 2025

Reference
  1. Incorrect Correct No Answer was selected Invalid Answer

    The Building, School, and HighSchool classes are defined as follows:

    public class Building {
        private String address;
        private int floors;
    
        // Implementation omitted
    }
    
    public class School extends Building {
        private String name;
    
        // Implementation omitted
    }
    
    public class HighSchool extends School {
        private int[] grades;
    
        // Implementation omitted
    }
    Java

    Which of the following is NOT a true statement?