Skip to content

Commit 3e0d113

Browse files
authored
Update SingleBitOperators.java
1 parent 921ad5e commit 3e0d113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/bitmanipulation/SingleBitOperators.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static int clearBit(int num, int bit) {
2626
/**
2727
* Get the bit located at 'bit' from 'num'
2828
*/
29-
public static int getBit(int num, int bit){
29+
public static int getBit(int num, int bit) {
3030
return ((num >> get) & 1);
3131
}
3232
}

0 commit comments

Comments
 (0)