0
Can anyone tell me why this cout<<emp->getComm() line of code will give error in attached code?
9 Answers
+ 1
~ swim ~ ohh yeah got it .....Thank you so much
0
Formatted code ~ swim ~ please have a look at it
0
~ swim ~ yeah bcz i have commented that statement in code ..... And asking why it was failing. I am just uncommenting it now please check
0
~ swim ~ we upcasted emp to manager class then why we cant access manager class method ?



