Wats the diff between sealed class and private class in
inheritance

Answer Posted / satyam

when a class defined as sealed its not possible to inherit
its class and properties to the inherited class.Its also
applicable to the class properties.Even class defined as
public its banned to inherit the class.

Is This Answer Correct ?    7 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is comparator a functional interface?

465


What is IL / CIL / MSIL?

667


Can we override main method in c#?

486


Define a manifest in .net?

540


List down the reason behind the usage of c# language.

652






What is javascriptserializer c#?

507


What is extension method in c# and how to use them?

476


Write a sample code to write the contents to text file in c#?

483


Why is xml called extensible?

503


can you create a function in c# which can accept varying number of arguments

606


What is a helper method in c#?

482


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

530


Do events have return type c#?

510


What is system console writeline in c#?

473


Which is better python or c#?

461