why do we have to seal a classes if we know that it's not going to inherit to any class.
Jump to Post
Basically from my part I can tell you that it's just a smooth way of writting the code. If you know that you are not going to EXTEND your class then seal it. Personally, I've never used it but I think that other members could tell you more about it. …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.