Wipro interview question

How to create a final class?