Page 216 - DCAP404 _Object Oriented Programming
P. 216

Unit 9: Inheritance




                 Class  two  :  one                                                             Notes
                 {
                         public:
                                two()
                 {
                         cout<<“Creating  class  TWO”;
                 }

                         };
                         two  myclass  =  new  two();
          10.  How will you make a private member inheritable?

          Answers: Self  Assessment

          1.   reusing                           2.  object
          3.   derived class                     4.  protected
          5.   base                              6.  private

          7.   derived                           8.  declaration
          9.   base specifier                    10.  Hybrid
          11.  Multiple                          12.  Comma
          13.  Virtual base classes              14.  data members

          15.  object                            16.  constructors
          17.  protected

          9.12 Further Readings




           Books      E Balagurusamy; Object-oriented Programming with C++; Tata Mc Graw-Hill.
                      Herbert Schildt; The Complete Reference C++; Tata Mc Graw Hill.
                      Robert Lafore; Object-oriented Programming in Turbo C++; Galgotia.




          Online links  http://msdn.microsoft.com/en-us/library/wcz57btd(v=vs.80).aspx
                      http://www.learncpp.com/cpp-tutorial/117-multiple-inheritance/
















                                           LOVELY PROFESSIONAL UNIVERSITY                                   209
   211   212   213   214   215   216   217   218   219   220   221