Discussion
3
Replies
1546
Views
Posted: January 27, 2016
Last activity: February 26, 2016
Closed
Class Structure vs Data Model
Hi,
Can someone help me to understand the different between Class Structure and Data Model?
Thanks in advance!
In a nutshell, data model creates placeholder for a object attributes (properties) whereas class structure (inheritance) is used as an aid in reuseability and maintenance ie) Things common between a truck and car object are place in a vehicle object. The vehicle object is inherited by both car and truck
There are several sites on the internet which explain these basic programming concepts such as:
http://stackoverflow.com/questions/4242634/class-vs-data-structure