Changes

Jump to: navigation, search

Objective-C Inheritance

20 bytes added, 20:07, 21 October 2009
An Objective-C Inheritance Example
== 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 a bank account number and corresponding current balance. The class contained both instance variables and instance methods. The declaration of this class is reproduced below:
<pre>
</pre>

Navigation menu