(a) Match the following features to their correct names
(b) Which of the following features occur? (Tick the correct
ones)
multiple inheritance
method chaining
polymorphism
composition
overloading
overriding
(c) How many are there of each of the following? (Type in a
digit, not a word)
different operators Answer 3 (don't count
repeats of the same operator)
methods Answer 4
primitive type instance variables Answer 5
reference type instance variables Answer 6
(d) Select the sets of variables that have the same scope
title, anArtist
artist, anArtist
isOldMaster, result
yearPainted, result
aValue, anArtist
artist, title
(a) Match the following features to their correct names (b) Which of the following features occur? (Tick the correct one
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am