View Single Post
  #6   Spotlight this post!  
Unread 18-12-2006, 17:58
Gamer930's Avatar
Gamer930 Gamer930 is offline
Team 930 and 171 Alumni
AKA: Justin
no team
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2002
Location: New Berlin, WI
Posts: 388
Gamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to behold
Re: Visual C++ 2005 Designer

I was just now actually studying for my Software final and saw a section of notes that that will help explain Parent / Child even more. . .

2.3 Inheritance
·Allows the derivation of one class from another.
·Subclasses or child or derived classes contain all of the methods and attributes of the parent or super or base class.
·The subclass may override some of the inherited methods
·The subclass may also add new methods and attributes.
oExample: Military platform base class – robot, UAV, soldier, tank, airplane, etc. child classes.
·Specialization – a subclass that inherits from a superclass and has additional specification. Elevator button is a kind of control but all buttons are not elevator buttons. Elevator button is a specialized button.
·Generalization – the opposite of specialization.
·Inheritance increase reuse and thus reduces the total volume of code needed – less to write, test, document, etc.
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student