In this first mind, map concentrates on class, object,
constructor, method, field and property. At the centre of mind map class Mobile
was created, which has objects, Companies of the mobile like (Apple, Samsung
etc.) and in the class, there are fields like price, model_number. These fields
are declared as private and through properties Price and Model_Number, these
private fields were accessed. The property contains get and set auto properties.
Basically, fields were discussed as private and property provides abstraction
allowing us to change the fields while not affecting the external way that they
were accessed by the things that present in the class. The class has a
constructor which initializes the price, model_number and name. There are
methods Call () ,Playing_Games() and Search_App() which can be accessed by the
Mobile class objects. The pseudo code is also given showing how exactly that
looks.
No comments:
Post a Comment