Step 2 Now think about how you can use what you\'ve leamed about defining classe
ID: 3914802 • Letter: S
Question
Step 2 Now think about how you can use what you've leamed about defining classes for objects to improve your ite or he Ives of people you know - it might be a tamily member, someone in your community or even in society more generaly An esample of this'might be a response like I hate it when I'm trying to find someone's contact details but cant remember where they are Like when t want lo phone someone and have to go trawling through emails to find their number IfI defined a class that contained al of a persons contact information, I could use it to contact them in any way I liked I couid aiso write apps that managed my contact ist searched through and updated it I feel like this would make many people's lives a lot easierExplanation / Answer
As per the given example of managing the contacts , there are many things
we can apply the concept of classes which can ease our life a little bit.
Managing house hold items like groceries, milk, vegetables, clothing.Our spendings can be stored as classes with date of purchase, item name, purchase
value.Investment details like policy number, premimum, duration etc. Diary
events or appointments can be conceptualized based on classes.Even the objects
like car, vehicles, house, electricity, water billa, all have equal chances for being modelled as classe as all have attributes to be modelled as instance variables of classes. May be a bit of inheritance can also be appleid if we go
one level up. Even the concept of abstract classes can become handy at times.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.