Consider the following statement:

A. In case of inheritance, overridden methods can have different return type.

B. Polymorphism can be achieved using method overloading only.

C. Singleton class can be inherited.

D. Static classes can't be inherited.

Which of the following statements are true?

1
Statement A and D
2
Statement A and C
3
Statement B and D
4
Statement A and B
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation