R4R
Right Place For Right Person TM

Can you prevent your class from being inherited by another class?

previous previous previous
Question:
Can you prevent your class from being inherited by another class?

Can you prevent your class from being inherited by another class?

Post Your Answers


User Name:
Answers:

Related Links

  1. Can you allow a class to be inherited, but prevent the method from being overridden?
  2. What is an abstract class?
  3. When do you absolutely have to declare a class as abstract?
  4. What is an interface class?
  5. Why can�t you specify the accessibility modifier for methods inside the interface?
  6. Can you inherit multiple interfaces?
  7. What happens if you inherit multiple interfaces and they have conflicting method names?
  8. What�s the difference between an interface and abstract class?
  9. What is the difference between a Struct and a Class?
  10. What�s the implicit name of the parameter that gets passed into the set method/property of a class?
  11. What does the keyword �virtual� declare for a method or property?
  12. How is method overriding different from method overloading?
  13. Can you declare an override method to be static if the original method is not static?
  14. What are the different ways a method can be overloaded?
  15. If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constr
  16. What's a delegate?
  17. What�s a multicast delegate?
  18. Is XML case-sensitive?
  19. What�s the difference between // comments, /* */ comments and /// comments?
  20. How do you generate documentation from the C# file commented properly with a command-line compiler?
  21. What debugging tools come with the .NET SDK?
  22. What does assert() method do?
  23. What�s the difference between the Debug class and Trace class?
  24. Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
  25. Where is the output of TextWriterTraceListener redirected?
  26. How do you debug an ASP.NET Web application?
  27. What are three test cases you should go through in unit testing?
  28. Can you change the value of a variable while debugging a C# application?
  29. What is the role of the DataReader class in ADO.NET connections?
  30. What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?
  31. What is the wildcard character in SQL?
  32. Explain ACID rule of thumb for transactions.
  33. What connections does Microsoft SQL Server support?
  34. Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted?
  35. What does the Initial Catalog parameter define in the connection string?
  36. What does the Dispose method do with the connection object?
  37. What is a pre-requisite for connection pooling?
  38. How is the DLL Hell problem solved in .NET?
  39. What are the ways to deploy an assembly?
  40. What is a satellite assembly?
  41. What namespaces are necessary to create a localized application?
  42. What is the smallest unit of execution in .NET?
  43. When should you call the garbage collector in .NET?
  44. How do you convert a value-type to a reference-type?
  45. What happens in memory when you Box and Unbox a value-type?
  46. What�s the difference between const and readonly?
  47. What is the difference about Switch statement in C#?
  48. What is the difference between a static and an instance constructor?
  49. In which cases we use override and new base?
  50. You have one base class virtual function how will you call the function from derived class?

Question:Can you prevent your class from being inherited by another class?

Back Home Next

New Updates

Topics

Topics

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R