Define the scope of Public, Private, Friend procedures?



Define the scope of Public, Private, Friend procedures?..

Answer / 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

More Visual Basic Interview Questions

I have several megabytes of memory. Why do I get an "out of memory" error?

0 Answers  


what is differece b/w Module and class Modules in vb6? thanks

4 Answers   Ask Techsys, TCS,


What is binding? What are types of binding?

3 Answers   Primus Global,


What is the difference between modal and moduless window?

2 Answers  


Binary Access-method is used to access file in which manner?

1 Answers  






What are two validate with Data Control?

1 Answers  


Which type of object requires this object?

0 Answers  


what are the Types of DBCombo boxes?

0 Answers  


what is the difference between vb and vb.net

2 Answers  


Which method is preferred to save data like database to the disk?

0 Answers  


Which property of textbox cannot be changed at runtime?

1 Answers  


What is the use of Visual Basic Document file?

0 Answers  


Categories