what is the difference between Module and Class

 Posted by deccansoft on 9/17/2010 | Category: C# Interview questions | Views: 1855

Both class and module are a collection of methods and properties. The major
difference is that instances can be created from a class in the form of
objects, but not from a module. The scope of the members of a class is
only for the lifetime of the object, but the scope of the members of a
module exist for the life of the program.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response