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

what is intermediate language?

683


Can you please explain the difference between int and int32?

647


what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.

2053


What is break mode? What are the options to step through code?

618


Explain private assembly?

594






Explain about rapid application development tool?

601


What do you mean by serialization and deserialization and it's use.

689


Can you please explain the difference between c# and vb.net?

637


Explain convert.tostring and i.tostring method?

596


What are the differences between vb.net and c#, related to oops concepts

647


What is meant by jagged arrays?

652


Why do we use byref keyword in vb.net?

695


Name some of the features present in vb 2005?

647


Which dll is used for microsoft .net run time?

621


What do you understand by vb.net?

686