What is multiple and multilevel inheritenc expalin with
program?

Answer Posted / shivangi

multiple inh:
//class A{..........};
public class A::class B{.......};
public class A::class C{.......};//
in this properties of A wil be trasferd to B and C(or any
other derived class of A)

multi level:
//class A {.........};
public class A::class B{..........};
public class B:: class C{.........};//
in this prop of A wil be inherited by B.. C wil inherit all
prop of A as wel as extra prop of B..as C is derived class
of B.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How output frequency is varied in case of a thyristor?

661


Explain the working of voltage commutated chopper with aid of circuit diagram and necessary waveforms. Derive an expression for its output voltage?

641


Derive intrinsic stand off ratio.

630


What are the main components of AMF panel. Is it required to use ATS in LT panel if DG is used as stand by supply? Please send any single line diagram showing AMF & LT panel etc., if possible please send to sreenu_207 @ yahoo.co.in

6423


What is the difference between the bandwidth of half duplex and simplex transmission?

578






What is holding current in scr?

659


Explain what is a state table?

649


How can the race-around problem be solved?

586


Why use -48v power to BTS

1655


what is a router how it woks? what is a compromised router in networks?how it works? what is a packet loss and packet dropping? what is a malicious packet?when it occurs?

1386


draw a ckt diagram i/p 230v & o/p 80v??????

2055


Magnetostriction is a phenomenon whereby the magnetisation of a ferromagnetic material leads to a change in

610


Define peak inverse voltage?

685


What is a combinational circuit?

632


Explain why open-loop op-amp configurations are not used in linear applications?

851