Page 23 - C++
P. 23

In  the  above  example,  public  member  Mult(  )  is  invoked  using  the  object  p  of  class
                     PRODUCT. Thus, demonstrating Data abstraction.



                     (1 mark for correct definition of data abstraction)
                     (1  mark for giving a valid example)

               (b)   Answer  the  question  (i)  &  (ii)  after  going  through  the  following  code.  (assume  all   2
                     necessary header files are included in program):-




































                                                         Page No. 6
   18   19   20   21   22   23   24   25   26   27   28