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


Please Help Members By Posting Answers For Below Questions

What is meant by Establish Connection in RDO?

1773


OLE is used for _______

1204


Explain about form creation in Visual Basic?

670


Types of Resultsets.

1612


How can I access a record by record number?

1143






How can I call a 'hidden' DOS program from VB?

1103


Explain about ADO control?

683


What do you mean by Databound Controls Explain?

1530


Which method is preferred to save datas like database?

1568


What is form in visual basic?

632


Difference between Class Module and Standard Module?

2079


How can you Navigate from the DHTML application to another DHTML application? .

1735


What is the use of Visual Basic Document file?

1561


What is recordset in visual basic?

656


How do I implement an accelerator key for a text box?

1154