Quelpr

Other parts of this question

  1. 7(a)(i)Distinguish between an object and a class.[2 marks]
  2. 7(a)(ii)Distinguish between a private method and a public method.[2 marks]
  3. 7(a)(iii)Distinguish between accessor (getter) and mutator (setter) methods.[2 marks]
  4. 7(c)Explain why public instance variables violate encapsulation.[2 marks]

More practice: the rest of this paper · more Software Engineering Principles and Models questions · all CAPE Computer Science Unit 2 past papers