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

DHTML Is used for what?

1459


What is meant by building a recordset.

603


What is the use of progress Bar Control?

1491


How can you check whether a record is valid record or Invalid record using ADO control or Object?

1396


How many objects resides in ADO ?

1441






___,__,___ are the type of combo box?

1145


What is the use of Hyperlink control for DHTML applications?

1916


Types of LockEdits in DAO?

1669


Through which protocol OLEDB components are interfaced?

1709


How would you create your application in DHTML?

1405


Is it possible to Access BackEnd procedures?

1588


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

907


It is possible to access Text (x.txt) files? Explain.

1537


what is use of book mark in excel ? send answer in my id ashishpal11@rediffmail.com

1723


What are the uses of List View Control?

1436