Home Discussion Discuss: The Unary Operators

  • The ~ operatorPoxer@live.se January 17, 2012 at 10:37 PM

    I have got into contact with the ~ while reading someone else code and I can't find what it means. -(~((Integer) (int) obj.meth( ... I'm wondering what difference does the ~ make compared to if it was not there? Thankful for any answer, not necessarily about the code but about the operator in all. For security reasons I had to cut most of the code off.

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
Java-Tutorials

Unary Operators in java 7
In this section you will learn about the Unary operators. This is one type of operators 

General

The Unary Operators
The Unary Operators in Java   ... operator. In java we have been provided the unary operators so we should know how to make use of those operatorsUnary operators are: ++expr, --expr 

General

Unary Operators
Unary Operators       The unary operators requires only one operand to perform different kind.... There are different types of unary operators mentioned in the table given below 

Programming Tutorials

Operators
operator %   Remainder operator Unary OperatorsUnary... to a specified type  Bitwise and Bit Shift Operators ~   Unary bitwise... Operators       

Programming Tutorials

Operators
operator %   Remainder operator Unary OperatorsUnary... to a specified type  Bitwise and Bit Shift Operators ~   Unary bitwise... Operators       

General

Operators
operator %   Remainder operator Unary OperatorsUnary... to a specified type  Bitwise and Bit Shift Operators ~   Unary bitwise... Operators       

General

Operators
operator %   Remainder operator Unary OperatorsUnary... to a specified type  Bitwise and Bit Shift Operators ~   Unary bitwise... Operators       

PHP Tutorial

PHP Operators
Operators in PHP: Every computer language has its own set of operators, most of the operators are same among all languages and  few languages supports some different set of operators. PHP supports mainly three kind of operators 

Java Tips and Examples

Operators
operator %   Remainder operator Unary OperatorsUnary... to a specified type  Bitwise and Bit Shift Operators ~   Unary bitwise... Operators       

Java-Tutorials

Operators In Java
; Unary Operators : Unary operators are perform operations on a single operand... Operators :   ~ : A unary bitwise complement operator that applied to any...Operators In Java In this section we will read about operators in Java. We 

General

Operators and Expressions
Assignment Operators Arithmetic Operators Unary Operators... Operators and Expressions       Operators: Operators are such symbols that perform some 

Java Beginners

operators
 

Java Interview Questions

operators
 

Java Beginners

operators
 

MySQL

Operators & Functions
Operators & Functions       In this section we are describing the function and operators... / MODULUS  % UNARY MINUS  - UNARY BIT 

General

Java Operators
Operators The unary operators requires only one operand to perform... Java Operators      ...;    Arithmetic Operators Arithmetic Operators are used 

General

Bitwise and Bit Shift Operators
Bitwise and Bit Shift Operators       In Java the bitwise and bit shift operators are used.... These operators perform bitwise and bit shift operations on integral type 

Java Beginners

ciruit operators.
ciruit operators.  Explain the benefit of short ciruit operators 

Java Interview Questions

Java operators
Java operators  What is the difference between the >> and >>> operators 

Java Beginners

bitwise operators
bitwise operators  Write short note on bitwise operators of Java.   Please visit the following links: http://www.roseindia.net/java/java-tips/data/expressions/slides-bitops.shtml http://www.roseindia.net/java/java 

JavaScript Questions

boolean operators in JavaScript
boolean operators in JavaScript  What boolean operators does JavaScript support 

Mobile Applications Questions

logical operators in objective c
logical operators in objective c  logical operators in objective c 

Quartz Tutorials

SQL AND Operators
SQL AND Operators       The AND operator displays records if both conditions are true. 1st Condition 2nd Condition Result false 

Quartz Tutorials

SQL OR Operators
SQL OR Operators       The OR operator displays records if any of the conditions is true. 1st Condition 2nd Condition Result false 

Java Beginners

bitwise operators
 

Java Interview Questions

Java operators
 

Java-Tutorials

Bitwise Operators in java 7
In this section you will learn about the Bitwise Operators. This is one type of operators 

Java-Tutorials

Arithmetic Operators in java 7
In this section you will learn about the Arithmetic operators. This is one type of operators 

Java Beginners

What is the difference between the >> and >>> operators?
What is the difference between the >> and >>> operators?   hi, What is the difference between the >> and >>> operators? Thanks 

PHP Tutorial

PHP Operators
3.5. PHP Operators Operators are used for performing specific tasks. The operators in PHP are same like other programming languages like Arithmetic operators, Assignment Operators, Comparison Operators, and logical operators. 3.5.1. 

DMCA.com