+ 1

Define a class Mobile to store the details of a mobile (company, model & price) with the following methods:

Define a class Mobile to store the details of a mobile (company, model & price) with the following methods: i) set_details() - to set the values to the data attributes ii) display_details() - to display the data attribute values. Create an object of the class and invoke the methods.

20th Jan 2019, 6:38 AM
Sujith S
Sujith S - avatar
2 Respostas
+ 2
Can you post your attempts?
20th Jan 2019, 6:49 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
I am trying ,My attempt will post soon.
20th Jan 2019, 6:59 AM
Sujith S
Sujith S - avatar