The SensorData class of chapter 5 is not compling. I get the following message with each attempt to run the program:
@The nested type SensorData cannot hide an enclosing type@
I typed the code exactly as found in the book and when that didn’t work, I downloaded the code and replace my code with your SensorData code - same result.
I don’t know how to rectfy this - can you help please?