I'm not sure whats wrong with it

Screenshot 2023-11-08 114058

Hi,

Welcome to our community! :slight_smile:

There is nothing wrong with your code or project. The warning message just tells you that there is a variable in your code that never gets used. If you check your code, you’ll see that this is true. question got declared but it is neither used anywhere in the QuestionSO class nor in another class.

The code is not wrong by any means. Declaring variables that are never used is just a potential mistake because you usually want to do something with your code.

Please continue working on your project. At some point, Gary is going to use the question variable, and then the warning message should disappear. :slight_smile:


See also:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms