You are not logged in.

#1 2015-05-26 06:26:47

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Inherited Class:

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

Option A):
Class B's only as it is the child class
Option B):
Class A's only as it is the parent class
Option C):
Class B first Class A next
Option D):
Class A first Class B next

Correct Answer is Option D):
Class A first Class B next


Failure is the first step towards seccess.

2015-05-26 06:26:47

Advertisement
Ads By Google

Re: Inherited Class:



Board footer