0
Access the "color" property of the "hair" object using dot syntax.
ans
2 Answers
+ 1
More than likely it's
hair.color
If it's encapsulated, it might be
hair.getColor()
Hard to provide exact syntax when you don't specify the language.
https://www.sololearn.com/discuss/1316935/?ref=app
0
Which language do you use ?