Hour 16. Designing Objects Using Classes
What You’ll Learn in This Hour
• Encapsulating data and code using classes
• Comparing classes to standard modules
• Creating an object interface
• Exposing object attributes as properties
• Exposing functions as methods
• Instantiating objects from classes
• Binding an object reference to a variable
• Understanding object lifetimes
You learned about what makes an object an object in Hour 3, “Understanding Objects and Collections.” Since that hour, you’ve learned how to manipulate objects such as forms and controls. The real power of leveraging objects, however, comes from being able to design and implement custom objects of your own. In this hour, you’ll learn how to create ...
Get Sams Teach Yourself Visual Basic 2012 in 24 Hours, Complete Starter Kit now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.