Implement concrete class model using C++ /Java

1. Show the definition for a method called myMethod that 1) is visible outside the class and can only access class variables, 2) returns an array of integers, and 3) accepts two parameters which are a String and double, in that order.
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

2. Which of the following statements is true about the concrete class model in Java?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

3. Which of the following methods and variables would be appropriate for the Customer class in the Release a Vehicle use case scenario?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

4. In an association, what is the key characteristic that distinguishes it from aggregation?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

5. If a student class contains a list of course objects, and courses can exist independently of the student, this relationship is best described as:
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation