Before revision: This article outlines some techniques for the use of bitwise operations in  programming languages C /C ++ and Java.
After revision: The main thrust of the article is to provide interesting example, useful for students of using bitwise operations in programming languages C /C ++ and Java.