Professional Documents
Culture Documents
Explain The Concept of Constructor? 15. Can You Inherit Private Members of A Class?
Explain The Concept of Constructor? 15. Can You Inherit Private Members of A Class?
2. What is a class?
3. What is an object?
8. Can you specify the accessibility modifier for methods inside the interface?
11. Can you declare an overridden method to be static if the original method is not static?
13. Can you allow a class to be inherited, but prevent a method from being overridden in C#?
18. How can you prevent a class from overriding in C# and Visual Basic?
19. What are abstract classes? What are the distinct characteristics of an abstract class?
20. Give a brief description of properties in C# and the advantages that are obtained by using them
in programs.