0

Any ideas, in which cases a sealed class would make sense?

12th Apr 2016, 3:01 PM
Dr. Christian Heigl
2 Answers
0
For example, a class Dog may be sealed so the class Animal won't be able to inherite from it (so Animal:Dog will create an error) but the opposite (Dog:Animal) will be possible
22nd Apr 2016, 9:28 AM
2292
2292 - avatar
0
11th May 2016, 1:03 AM
Eric Phillips
Eric Phillips - avatar