Results 1 to 2 of 2

Thread: Multiple inheritances

  1. #1
    Harvey Lavan is offline Member
    Join Date
    Sep 2009
    Posts
    57
    Rep Power
    3

    Default Multiple inheritances

    In multiple inheritances, to make subclass obj is there required to create objects for its superclasses? In fact i have info that is, all existing users from its superclasses , memory formed in subclass obj , so no require to create obj for its superclasses?

  2. #2
    Join Date
    Jun 2009
    Posts
    56
    Rep Power
    3

    Default

    There is no requiring making an object of the base class, if you would like to make an object of the derived class. It is automatically created internally. When you make an object of the derived class then, the constructor of the base class is called first and after that the constructor of the derived class.

Similar Threads

  1. Multiple queries
    By Eddie Simmons in forum Everything Else
    Replies: 0
    Last Post: 11-03-2010, 07:17 PM
  2. Multiple Wii blunder
    By HallMiller in forum Gaming Accessories
    Replies: 1
    Last Post: 04-28-2010, 02:24 PM
  3. How to do multiple page feeds
    By Vicenta Ursulina in forum Printer
    Replies: 1
    Last Post: 11-20-2009, 07:44 AM
  4. Overheating cause multiple reboots?
    By Armando489 in forum Overclocking
    Replies: 1
    Last Post: 08-06-2009, 11:34 AM
  5. Using of multiple monitors
    By adlina in forum Windows XP
    Replies: 2
    Last Post: 04-28-2009, 11:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48