Wats the diff between sealed class and private class in
inheritance
Answer Posted / robert j
continuation from the prev.post...
We can put the "private" keyword, if and if only the class
is in public class.. It is rarely used..
public class a
{
...
private class b
{
..
}
}
otherwise, we can not put private keyword over the classes
directly..
Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Can we overload indexer in c#?
What are the types of parameters in c#?
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
Why do we use interfaces in c#?
Name the method of servicebase class?
Tell me the difference between value passing and address passing?
Can main method be final?
What is a delegate how is it type safe?
Is php better than c#?
What are interfaces in c#?
Which class does the remote object has to inherit?
Can we inherit class that contains only one private constructor?
What is asp net c#?
What to implement on my class Finalize or IDisposable
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?