Define the scope of Public, Private, Friend procedures?
Answer Posted / guest
The set of public variables, methods, properties, and
events described in a class module define the interface for
an object. The interface consists of the object members
that are available to a programmer who's using the object
from code.<=====>
You can create private variables, methods, properties, and
events that are used by other procedures within the class
module but are not part of the object's public interface.
Additionally, constants user-defined types, and Declare
statements within a class module must always be
private.<====>
The Friend keyword makes a procedure private to the
project: The procedure is available to any code running
within the project, but it is not available to a
referencing project.
| Is This Answer Correct ? | 6 Yes | 9 No |
Post New Answer View All Answers
What is ODBC Direct and Microsoft Jet Database Engine ?
How to get freefile location in memory?
How would you access objects created in ActiveX Exe and ActiveX Dll
____ property of menu cannot be set at run time.
Whether HTML supports multimedia: and document links?
Is the Variant type slower than using other variable types?
What is the use of Data Form Wizard?
What is Seek Method which type of record set is available this?
What is the use of Hyperlink control for DHTML applications?
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
___,__,___ are the type of combo box?
Explain the working of templates?
What is the default workspace?
How to find the current record position in data control?
How do you change the icon and otherwise manipulate the DOS box?