![]() Visual Basic also provides a light version of classes called structures that are useful when you need to create large array of objects and do not want to consume too much memory for that. Using the blueprint analogy, a class is a blueprint, and an object is a building made from that blueprint. So, the act of creating an object is called instantiation. ![]() The terms class and object are sometimes used interchangeably, but in fact, classes describe the type of objects, while objects are usable instances of classes. This section describes the following concepts: ![]() Polymorphism means that you can have multiple classes that can be used interchangeably, even though each class implements the same properties or methods in different ways. Inheritance describes the ability to create new classes based on an existing class. ![]() Visual Basic provides full support for object-oriented programming including encapsulation, inheritance, and polymorphism.Įncapsulation means that a group of related properties, methods, and other members are treated as a single unit or object. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |