Challenge: Fix the Code
Try to fix the erroneous code.
We'll cover the following
Problem
The following code uses negations with concepts. It will generate an error on compilation. We need to fix that error.
This piece of code is generating an error on compilation, we are requested to fix the error.
Try it yourself first. If you have trouble getting to the solution, you can always press the “Show Solution” button to see how the problem can be solved. We’ll go through the in-depth solution in the next lesson.
Good luck!
Get hands-on with 1200+ tech skills courses.