Class  module


The most commaon way  to build a new class for new objact in vb is to use  a class module.

A class module object contains the code forcustm properties andmethod that objects defined.
A form module and a class module can implement the interface of another class we can add properties and method to both form and class modules.
A class module cannot have a vissible interface of its own.Each class module created will giveus asingle class to build new instances of that class memders.

These class members are methods and properties.
The keyword public signifies that member isaccessible to al modules within project.
The keyword print signifies that the mambers with in the clas module.

Like it on Facebook, +1 on Google, Tweet it or share this article on other bookmarking websites.


Written by
sagar dua
  • No comments found