I have this in one class:
if (people.count < 10)
return false;
But count is undermarked with red saying Change the visibility of count to default
count is in another class as private. But I don't want to change it to default. I know it is a bad practice. How can I make it work without setter and getters?