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