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 do I remove/change the picture property of a control at design time?
How do I get a bitmap picture in a field in an Access database?
1s it posible to Create Tables Through Querydef?
Explain the types of Views in Listview Control?
How do I change the color of a form in visual basic?
How many File System Controls are there Explain?
How do you avoid the "Invalid use of null" error when reading null values from a database?
How the image application?
How to use hyperlink?
What is Internet Explorer and its uses?
what are the Types of LockEdits in RDO?
Explain about trees structures work.
How many ways you can access file using VB?
What are the Internet tools available in VB6.0?
What are 3 main differences between flexgrid control and dbgrid control?