<< Chapter < Page | Chapter >> Page > |
Revised: Fri May 06 14:33:08 CDT 2016
This page is part of a Book titled XNA Game Studio .
This module is one in a collection of modules designed primarily for teaching GAME 1343 Game and Simulation Programming I at Austin Community College in Austin, TX. These modules are intended tosupplement and not to replace the textbook.
An earlier module titled Getting Started provided information on how to get started programming with Microsoft's XNA Game Studio.
Object-oriented programs exhibit three main characteristics:
I have explained encapsulation, inheritance, and compile-time polymorphism in earlier modules. Before I can explain runtime polymorphism, however, I need tostep back and explain some concepts involving type conversion, casting, and assignment compatibility.
I recommend that you open another copy of this module in a separate browser window and use the following links to easily find and view the Listings while you are reading about them.
This module explains type conversion for both primitive and reference types.
A value of a particular type may be assignment-compatible with a variable of another type. If so, the value can be assigned directly to the variable.
Notification Switch
Would you like to follow the 'Xna game studio' conversation and receive update notifications?