From the course: Visual Basic Essential Training

Unlock this course with a free trial

Join today to access over 24,500 courses taught by industry experts.

Classes and OOP

Classes and OOP

- [Instructor] So far, we've been treating classes like simple containers for our code, but they're actually more than that. Visual basic classes are key players in the world of object-oriented programming or OOP. They help us manage data, protect and organize our code, and even let our code pieces inherit traits from each other. This means our code can be more scalable, reusable, and easier to work with. To be clear, object-oriented programming is a deep and complex topic. And while it's foundational to understanding how classes work in Visual Basic, this course is not focused on teaching these concepts in depth. Instead, we'll cover the basics of classes and how they function within the context of Visual Basic. You'll learn how to use classes as practical tools for organizing code, managing data, and taking advantage of some key features like encapsulation and inheritance without diving into the full complexities of object-oriented programming. This chapter covers the following…

Contents