Changes

Objective-C Inheritance

188 bytes added, 20:06, 21 October 2009
no edit summary
== An Objective-C Inheritance Example ==
As with most programming concepts the subject of inheritance in Objective-C is perhaps best illustrated with an example. In the [[An Overview of Objective-C Object Oriented Programming]] we created a class called ''BankAccount'' designed to hold the bank account number and balance. The class contained both instance variables and instance methods. The declaration of this class is reproduced below:
<pre>
</pre>