7/15/2023 0 Comments Visual basic programming tutorialSo, 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. |