Q:

Output of following program?

0

Output of following program?


  1. B salary is: 4000.0
    Bonus of B is: 10000
  2. B salary is 10000 Bonus of B is: 4000.0
  3. Compile time error
  4. Runtime error

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).B salary is: 4000.0
Bonus of B is: 10000

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING INHERITANCE AND ITS TYPES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Single level inheritance will be best for_________... >>
<< Output of following program?...