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

What is the difference between <F8> and <Shift-F8> when debugging?

2 Answers  


Is it possible to Manipulate data through flexgrid? Explain.

0 Answers  


Which type of object requires this object?

0 Answers  


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

4 Answers   Ask Techsys, TCS,


Which datatypes in Visual Basic are capable of accepting Nulls?

1 Answers  






which property of menu cannot be set at run time.

0 Answers  


What is the use of command Object?What are the various types of variables?

0 Answers  


Is the Variant type slower than using other variable types?

0 Answers  


Explain about declaring variables in Visual basic?

0 Answers  


Is Visual Basic case sensitive in general?

3 Answers  


What is connection object in vb net?

0 Answers  


OLE is used for _______

0 Answers  


Categories