0

Access the "color" property of the "hair" object using dot syntax.

10/9/2019 6:26:33 PM

Saurabh Yadav

2 Answers

New Answer

+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 ?