1
Answer

Constructor class B and derived class D

Bing In

Bing In

8y
305
1
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)