Question: python code solve In this question you should define two classes: Phone and PhoriCall, You should infer the properties and methods of these classes based
In this question you should define two classes: Phone and PhoriCall, You should infer the properties and methods of these classes based on the code given below, where some phone and phonecall objects are created. The properties of the object with in-line comments. p1 - Whone "-samsung ", 100, "Buatness") thrand, price, type peint (pl. Displayphone ()) Samsung. $100, Butsinose pl.Showicalis () Inconing call, Ross at 12:00 Outgoing cal1, Mom at 14:00 p2 " Phone ("Iricson", 50 ) obrand, prtce p2. AddCa11 (PhoneCal1 " bad", "15:00", "Not answernd") fwho, when, type p2. AddCa11 \{Phonecal1 ("Besty", "14:00", "Oratgoing") f fwho, when, type print (P2. DisplayPhone (1) Exicson, $50, Homo p2. ShowCal1s (1) Not answered cal1, Dad at 15:00 Outgoing cal1, Besty at 14:00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
