Can you confirm that classes that i have created are correct or not according to Class diagram
class Plot : public PropertyCategories
class Flat : public PropertyCategories
class House : public PropertyCategories
>NOTE: I don't need to implement this code into the program.
Edited 11-Jan-13 23:52pm
You have implemented inheritance (triangle), but not the composition or rather aggregation (diamond).
Yes. they are right. Please add the methods to the respective classes as defined in the class diagram. you can update questions if you want to modify your question.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)