Struct is used when we need to declare small lightweight object like RGB color, Point with X and Y co-ordinate
The same logic can be declared using Classes as well
Struct is used when we need to declare small lightweight object like RGB color, Point with X and Y co-ordinate
The same logic can be declared using Classes as well