binary numbers java

Java
int binaryNumber = 0b1001;
  
  //binaryNumber == 9
Source

Also in Java: