Explain the Scope of
public/private/friend/protected/protected friend.
Answer / jiten
public members r available all classs
private members r available only within class
protcted members r available drive classs
protected friend members r availble in drived classs and
all classs whitch r in same assambly
friend memebers r available for all classs witch in same
assambly
Is This Answer Correct ? | 13 Yes | 1 No |
Why abstract class can not be instantiated?
What is the difference between constant and readonly in c#?
7. C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
What are the Types of configuration files and their differences
Explain the functionalities of satellite assembly?
What is the main usage of keyword “virtual†? How does it work for a method or property?
What is the difference between readonly and const
What is concrete class in c# with example?
What is the difference between abstract and virtual?
What is cts, clr?
If we inherit a class do the private variables also get inherited ?
What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?