Skip to content

Commit a4d7438

Browse files
jagdish-15kahgoh
andauthored
Update exercises/practice/queen-attack/.approaches/simple-comparison/content.md
Co-authored-by: Kah Goh <[email protected]>
1 parent ec9e1e2 commit a4d7438

File tree

1 file changed

+1
-1
lines changed
  • exercises/practice/queen-attack/.approaches/simple-comparison

1 file changed

+1
-1
lines changed

exercises/practice/queen-attack/.approaches/simple-comparison/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class QueenAttackCalculator {
6767

6868
1. **Constructor**:
6969

70-
In the constructor of `QueenAttackCalculator`, we check if the queens are positioned at valid places.
70+
The constructor of `QueenAttackCalculator` takes two `Queen` objects and checks if they are positioned at valid places.
7171
If either queen is `null`, or if both queens occupy the same position, an exception is thrown.
7272
The constructor takes two `Queen` objects, `queen1` and `queen2`, and stores them as instance variables.
7373

0 commit comments

Comments
 (0)