Wats the diff between sealed class and private class in
inheritance

Answer Posted / mayur

The Difference between sealed class and private class
is not same
bcoz in private class the user can call the function in
same class
and
if the user has to call sealed class then the methods
function can be called throught other class also

Is This Answer Correct ?    15 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is main function of alternate teamplate of datalist?

1647


Explain the use of SN.exe

597


What is the difference between hashtable and dictionary in c#?

478


What is binding in c#?

492


Why c# is called c sharp?

467






Show us in simple steps to create setup & deployment project for windows application?

502


How do I declare a pure virtual function in c#?

595


What is difference between il and dll ?

531


What is the difference between overriding and overloading in systemverilog?

460


How can an inner class access the members of outer class?

546


What is COM Interoperability?

556


What is datagrid c#?

476


What is static and use of it?

473


How do you set a class path?

450


Is collection a data structure?

548