+ 1
Can anyone tell me why we use objects ...why we directly use variable and remaining sentence ..
4 Respuestas
+ 3
It is easier to model the real world that way.
+ 3
1: it allows code to be modular.
2: it groups useful information together.
3: it allows for the same property identityer to be used in different classes to mean different things. This means property names can be more meaningful as they just have to be unique to there scope, not unique across the whole codebase.
+ 1
Thanks ..josh
0
Thanks sonic