3 marksAbstract Data Types (ADTs)
CAPE Computer Science Unit 2 · 2006 · Paper 2 · Question 6(b)(ii)
Write a code fragment to create/instantiate a named data structure to store all Product objects and add the two Product objects from 6(b)(i) to it.
The mark scheme is shown once you've answered.
Practise this question