The Value of 0xFF Number and Its Uses With & Operation in Java Article by Abdallah Sawan

This commit is contained in:
AbdallahSawan
2020-10-22 14:11:18 +03:00
parent 06419d4deb
commit 12b927e2ae
2 changed files with 2 additions and 2 deletions
@@ -15,6 +15,6 @@ public class Number0xff {
}
public static int getAlfa(int rgba) {
return rgba >> rgba & 0xff;
return rgba & 0xff;
}
}