What is multiple and multilevel inheritenc expalin with
program?



What is multiple and multilevel inheritenc expalin with program?..

Answer / 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

More Electronics Communications Interview Questions

what is cellular mobile communication ?

3 Answers   HP, Infosys, Motorola,


I have BEL interview nearby... plz give the details of preperation

1 Answers  


What electronics are involved to build a device like a guitar tuner where you press a button to get a specific tone?

0 Answers  


out of DSBFC, DSBSC, SSBSC and VSB which is best for comm purpose and why?

1 Answers  


The peripherals of the computer(like keyboard, monitor) are connected through buses directly or is there any interfacing device present in the CPU?

3 Answers   NTPC,


SIR CAN U GIV TOPICS TAT COVERED IN JR.EXECUTIVE (ELECTRONICS) INTERVIEW N ALSO TIPS TO CRACK THE INTERVIEW PLZ

0 Answers   Airtel,


for an insulating material,dielectric strength and dielectric loss should be respectively

1 Answers  


What is meant by phase reversal?

0 Answers  


Battery banks are in connected in series or parallel and why?

2 Answers   Huawei,


what do u mean by Abis interface between bts and bsc

0 Answers  


Differentiate between intrinsic semiconductors and intrinsic semiconductors?

0 Answers  


66,36,18,.......???

7 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4452)
  • Electrical Engineering Interview Questions Electrical Engineering (16637)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)