Wipro interview question

concept about virtual, design pattern