C# Programming
08-05-2009, 10:23 PM
Hello ,
Virtual keyword allows us to override that method in child class.
Now when we declare a class as sealed class then we cant inherit . In That case why it allows us to decalre virtual keyword in static class when any other class inherit it ?
Pls expaln in deatils
Regards,
Jaddu
Virtual keyword allows us to override that method in child class.
Now when we declare a class as sealed class then we cant inherit . In That case why it allows us to decalre virtual keyword in static class when any other class inherit it ?
Pls expaln in deatils
Regards,
Jaddu