Suppose we have two derived classes from a single class, can we write a method with same name in both these derived classes? Choose the best option?

(A) No
(B) Only if the two classes have the same name
(C) Only if the main program does not declare both kinds
(D) Yes

»Important Links:

Latest Jobs in Pakistan Govt Jobs in Pakistan Private Jobs
NTS Jobs Bank Jobs Teaching Jobs
Police Jobs Wapda Jobs Army Jobs
PPSC Jobs Nadra Jobs CTSP Jobs

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!