Home » Tip Bank » Java
  • Comment on this Article
Language: Java
Expertise: Intermediate
Mar 16, 2020

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Watch

Create a 32-bit mask as 1000

For creating a 32-bit mask as 1000, we need to left-shift the value of 1. For example, if we shift it three positions we obtain 1000:

int x = 1 
Octavia Anghel
 
Submit a Tip
Browse "Java" Tips
Browse All Tips
w3.org
javascriptweekly.com