Skip to content

Commit 57b0d21

Browse files
authored
Add Java analyzer comments for Salary Calculator (#2337)
1 parent 0b2154f commit 57b0d21

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# use ternary operators
2+
3+
As the goal of this exercise is to learn about ternary operators consider using them in `%<inMethod>s` to solve this exercise.

analyzer-comments/java/wizards-and-warriors/use_override_annotation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
Although not strictly necessary, it is a good practice to use the `@Override` annotation when overriding methods from a superclass.
44

55
Doing so may help prevent errors; if a method marked with `@Override` fails to correctly override a method in one of its superclasses, the compiler will generate an error.
6-

0 commit comments

Comments
 (0)