Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

bitwise negate operator in Java

Posted on 1998-08-06
3
Medium Priority
?
1,355 Views
Last Modified: 2012-06-22
Hi there, can someone tell me what's the operator for bitwise negation?

Like if I have a bit pattern 01, I want to apply the bitwise negation and
get 10.

Is there an operator for that? Thanks in advanced.

0
Comment
Question by:nekobus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
awilkins earned 40 total points
ID: 1231560
The tilde (~).
0
 

Author Comment

by:nekobus
ID: 1231561
thank you!
0
 

Expert Comment

by:awilkins
ID: 1231562
No problem!
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question