InterviewSolution
| 1. |
What Is A Class In Vbscript? |
|
Answer» Class is a construct that is USED to define a unique type. Like Object Oriented Programming, VbScript 5.0 supports the creation of classes and it is very similar to writing COM objects with VB. Class is simply the template for an object and we instantiate an object to access the PROPERTIES and methods of it. Classes can CONTAIN variables, properties, methods or EVENTS. Class is a construct that is used to define a unique type. Like Object Oriented Programming, VbScript 5.0 supports the creation of classes and it is very similar to writing COM objects with VB. Class is simply the template for an object and we instantiate an object to access the properties and methods of it. Classes can contain variables, properties, methods or events. |
|