top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

In a parent child relationship which constructor fires first ?

+3 votes
88 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

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...