Which of the following statements is/are true about Inheritance in Java? i) Private methods are final ii) Protected methods are final iii) Private…

Which of the following statements is/are true about Inheritance in Java?

i) Private methods are final

ii) Protected methods are final

iii) Private methods cannot be overridden

iv) Protected members of a class are accessible by inherited classes of another package

  1. a) i, iii and iv
  2. b) i and iii only
  3. c) ii, iii and iv
  4. d) ii and iv only

From the Combined Bank Assistant Programmer (CSE) 2020 – Preliminary (DU) exam, question 28 of 47.

More from this paper