what are the Differences between variables defined as
public in a standard module (.bas) file and a Class file?
Answers were Sorted based on User's Feedback
Answer / pratap557
In Module , global variables are declared, whereas in class
file unless one creates the class instance , cannot get the
variable declared in the public section of that class
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / jojo
i bas All the variable are public by default u can access
the variable throughtout the project.
In class u need the instance of the class called object to
access it
Is This Answer Correct ? | 1 Yes | 1 No |
What is the difference between a property a method and an event? Give an example of each.
What are different types of locks in ADODB?
What is OLEDB?
How can you check Beginning and End of the file?
What are the types of line styles available in Treeview Control?
What are the different compatibility types when we create a COM component?
___ Property is to compress a image in image control.
What's the maximum size of a textbox?
What is the use of Visual Basic Document file?
What is the-use of property page Wizard in ActiveX Control?
What are constructors and destructors?
What is the use of command Object?What are the various types of variables?