5. (2) With reference to Figure 2, which of the following message sends would be allowed by a compiler? Choose all options that apply. a. sh.perimeter) b.tr perimeter c.sh.heightO: d. sq.heightO; e. sq.perimeter0: f. tr.height0: Triange Shape sh Figure 2 6. (2) With reference to Figure 2, which of the following assignments would be allowed by a compiler? Choos all options that apply. sqsh; sh tr, tr sq tr sh; en ents are true? Choose
OR
OR