top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In a parent child relationship which constructor fires first ?

+3 votes
323 views
In a parent child relationship which constructor fires first ?
posted Apr 28, 2015 by Merry

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+3 votes
 
Best answer

It will call the base class or parent constructor fires first in the inheritance relationship.

answer May 21, 2015 by Karthick.c
Similar Questions
+1 vote

Write a program which accepts 2 strings from the user and performs the following operation on it.
Example –
string1 = “Hello”
string2 = “World”
string3 must be “HellodlroW”

Both strings must be concatenated but after reversing the second string (as shown in string3 above).

+1 vote

Not sure among these
Fortran
logo
c

...