When class B is inherited from class A, what is the order in which the constructers of those classes are called

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
When class B is inherited from class A, what is the order in which the constructers of those classes are called

1.Class A first Class B next

2.Class B first Class A next

3.Class B's only as it is the child class

4. Class A's only as it is the parent class

Posted Date:-2021-02-19 18:46:56


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!