Skip to content

Commit d9bdf59

Browse files
Merge pull request #250 from xFrann/xFrann-patch-1
Update is-power-of-two.md
2 parents 4c23812 + b83adfd commit d9bdf59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/java/bit-manipulation/is-power-of-two.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ public static boolean isPowerOfTwo(int number) {
1212

1313
// Usage:
1414
int number = 16;
15-
System.out.println(isPowerOfTwo(5)); // true (2^4)
16-
```
15+
System.out.println(isPowerOfTwo(number)); // true (2^4)
16+
```

0 commit comments

Comments
 (0)