What is the DIfference between Friend and Protected Friend?

Answer Posted / vineeta agarwal

Friends can be accessed by all classes within assembely but
not from outside the assembely.

Protected variables can be used within the class as well as
the classes that inherites this class.

The Protected Friend can be accessed by Members of the
Assembely (Friend) or the inheriting Assembely class
(Protected).

So Friend is not same as Protected Friend

Is This Answer Correct ?    22 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between import system.data.sqlclient and system.data.oledb?

559


What is the importance of a Button control?

875


Explain the difference between int and int32?

531


Explain enumerator?

528


difference between control and component more than one differences

2420






What is datatype conversion?

552


How to retrieve images in sql server database through vb.net?

527


How do you define a read only property in a class module?

534


What is the maximum size of the textbox?

539


What is sealed class?

605


Can you please explain the difference between authentication and authorization?

546


How many classes a dll can contain?

558


What is strong typing and weak typing?

550


What is stack used for in vb. Net?

538


Allowed program to auto-correct the database when loading a presentation.

1753