How can we restrict a class to be further extended?

Short Answer
Views 34

Answer:

How can we restrict a class to be further extended?

using Final Keyword for ex: public final class <ClassName>

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of X++ Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.