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
How to use advanced data-bound controls.
Specify technical & functional architecture of your last 2 projects.
What is ado data control in vb?
Types of Resultsets.
How do I force a file dialogue box to reread the currect disk?
How can you check whether a record is valid record or Invalid record using ADO control or Object?
When should we use recursive programming?
Which method is preferred to save datas like database?
Difference between ActiveX Control and Standard Control.
How do I program the Novell NetWare API from VB?
How would you add elements in TreevieW Control.
How come I get a "No Current Record" error when I use a a Data Control on an empty table?
What is the current version of Visual Basic for Windows?
Is a foo VBX/DLL available as shareware/freeware?
which property used to add a menus at runtime?