1
Reply

Constructor class B and derived class D

Bing In

Bing In

May 8 2016 7:01 AM
286
use constructor class B and derived D 
custom method is used  
output should be below
 

 
variable i of B = 100
variable i of D = 500 
 
use constructor class B and derived D
use abstract and override method 
 

variable i of B = 100
variable i of D = 500
 
 
 

Answers (1)