What can i do to display the abstact function PayerImpot in my program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What can i do to display the abstact function PayerImpot in my program?

Display abstract function. https://code.sololearn.com/cP21R3I705ls/?ref=app

12th May 2020, 6:48 AM
Malick Diagne
Malick Diagne - avatar
2 Answers
+ 1
It is a void method, so you can just invoke them by prefixing the instance name, and they will print what they have to. myemploye.PayerImpot(); mycompany.PayerImpot();
12th May 2020, 7:03 AM
Tibor Santa
Tibor Santa - avatar
+ 1
mycompany.PayerImpot() the other object can use like this
12th May 2020, 7:11 AM
Rahman Rezaie 🇦🇫
Rahman Rezaie 🇦🇫 - avatar