Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 11.6 ('Apple About Boxes')
Instant purchase and download via GumRoad!

COLUMN

Inheritance vs. Interface

Often it's useful to be able to treat different types of objects in the same way.

Issue: 11.6 (November/December 2013)
Author: Seth Verrinder
Author Bio: Seth is a consultant who uses Real Studio every day in his job at BKeeney Software, Inc.
Article Description: No description available.
Article Length (in bytes): 8,484
Starting Page Number: 61
Article Number: 11611
Related Link(s): None

Excerpt of article text...

Inheritance and interfaces are similar in the sense that they both give you a way to define multiple classes that have the same method and then you can use those classes interchangebly in code.

Here's how it works:

dim o1, o2 as Shape

o1 = new Rectangle

o2 = new Circle

...End of Excerpt. Please purchase the magazine to read the full article.