Is it the good practice to creating multiple objects within a same class. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it the good practice to creating multiple objects within a same class.

object

25th Aug 2017, 8:40 PM
KAUSHIK KUMAR
KAUSHIK KUMAR - avatar
2 Answers
+ 4
If the Objects are neccessary, sure. I don't recall this being a practice.
26th Aug 2017, 12:44 AM
Rrestoring faith
Rrestoring faith - avatar
+ 1
of the same object yes. of diffrent objects no.
25th Aug 2017, 8:52 PM
D_Stark
D_Stark - avatar