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 frx?

3 Answers   Cap Gemini,


How many types of Instantiations are there and what are they?

1 Answers  


How do you create a form in visual basic?

0 Answers  


___ VB constant make the menu item in centre.

0 Answers  


When/Why should I use Option Explicit?

0 Answers  






How do I call a DLL?

0 Answers  


how many no of controls in form?

1 Answers   Airex Logistics, Tata Logistics,


What is the Advantage of ActiveX Dll over Active Exe?

1 Answers  


What type of databases you can access through AD I Data Access Object?

1 Answers  


How would you add elements in TreevieW Control.

0 Answers  


What do you mean by HTTP?

1 Answers  


Wat is multithreading in VB?

4 Answers  


Categories