0

When is The best time for using objects?

19th May 2018, 2:51 PM
mohamad shariatzadeh
mohamad shariatzadeh - avatar
4 Respuestas
+ 1
we use objects if you have many variable and functions related with each others and you will use them more than one time so you can encapsulate all of them in a struct or a class and use object to access them for example if you want to implement more than one student in a program in this case you can add all the variables that describe the student and make objects as much as you need
19th May 2018, 3:43 PM
Shahd Moemen
Shahd Moemen - avatar
+ 1
4am. Most people are asleep at 4am. Use them then.
19th May 2018, 2:59 PM
Xpl0it
Xpl0it - avatar
0
hahah funny
19th May 2018, 3:06 PM
mohamad shariatzadeh
mohamad shariatzadeh - avatar
0
thank you so much bro
20th May 2018, 4:38 PM
mohamad shariatzadeh
mohamad shariatzadeh - avatar