I am using a ternary operator in super () method of my code. While the code went for review, I got a reply that Strictly dont use ternary operators in the Super() calls.Is there any problem if we use ternary operators in the super() method?
Is there any issue if ternary operator is used in super() method
java;code reviews
I would reply to your reviewer and ask them to explain their comment. A critical part of the review process is understanding why code should be changed. Perhaps it doesn't adhere to the established coding standards, or similar code caused a problem in the past. Point is, ask why, in the spirit of understanding.