Yes. How?
sealed class XYZ
{
public int x;
public int y;
}
No class can inherit from XYZ defined above. Instances of XYZ may be created and its members may then be accessed, but nothing like the code below is possible.
class SomeClass : XYZ { } ... This cannot be done.
No comments:
Post a Comment