Q. When class B is inherited from class A, what is the order in which the constructers of those classes are called (Solved)

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

  • a. class a first class b next
Subscribe Now

Get All Updates & News