1.

List out some main differences between standard modules and class modules?

Answer»

The MAIN DIFFERENCE between standard and class MODULES is in the way they handle the data.

 Class ModuleStandard Module
1.In the Class module, objects have their own copies of data.In the Standard module, there is only one copy of the global variable exist.
2.These are implementation of OOPsThese are the implementation of PROCEDURAL language.
3.Public variables can only be accessed if an object variable contains a reference to a particular instance of the class.In the standard module, if a variable is declared Public then it can be visible from anywhere.
4.Inheritance is supported by class moduleIt doesn’t support inheritance.


Discussion

No Comment Found