Home Tutorialhelp Comment A small inaccuracy

 
 

Comment

algirdas
A small inaccuracy,
February 4, 2009 at 8:25 AM

? "However, if both of the bits are same then this operator produces 0. Moreover if both of the bits are 1 i.e. 1^1 then also it produces 1."

Improved: "However, if both of the bits are same then this operator produces 0. So even both of the bits are 1, 1^1 produces 0."


View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Core Java

Java XOR operator
Java XOR operator       Java makes available the bitwise operators like AND, OR, XOR, and NOT. .../master-java/java-bitwise-xor.shtml http:/www.roseindia.net/software-tutorials 

Java Tips and Examples

Java Bitwise XOR "^" Operator
Java Bitwise XOR "^" Operator       In this section, you will learn how to use bitwise XOR... of  bitwise XOR "^" operator. Description of code: The bitwise XOR 

Development process Questions

xor operator not working correctly with array
link http://www.roseindia.net/java/master-java/java-bitwise-xor.shtml   .../java/master-java/java-bitwise-xor.shtml...xor operator not working correctly with array  main { int a[2 

Java Beginners

bitwise operators
://www.roseindia.net/java/master-java/java-bitwise-or.shtml...bitwise operators  include<stdio.h> int main(){ short x... this program give the answer as 7  hi friend, Bitwise OR (|) operator returns 1 

Java Tips and Examples

Java XOR Operator
Bitwise XOR (exclusive or) "^" is a Java operator.... Following example will show how to use "^" operator in Java. XOR is a binary operator that is evaluated from left to right. Example of Java XOR 

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 

General

Java Bitwise Operator
/master-java/bitwise-bitshift-operators.shtml      ... Java Bitwise Operator      ... (or characters). However in Java, the bitwise and bit shift operators are used 

General

Bitwise and Bit Shift Operators
Bitwise and Bit Shift Operators       In Java the bitwise and bit shift operators are used... OR (^): The Bitwise exclusive OR (^) performs the exclusive or (XOR) operation i.e.  

Java-Tutorials

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

Java Tips and Examples

Java Bitwise NOT "~" Operator
Java Bitwise NOT "~" Operator       In this section, you will learn how to use bitwise NOT "~" operator in Java. The Java programming language has operators 

Java Tips and Examples

Java Bitwise AND " &" Operator
Java Bitwise AND " &" Operator   ... bitwise AND " &" operator in Java. The Java programming language has operators that perform bitwise operations. In the example below we have shown 

Java Tips and Examples

Java Bitwise OR " |" Operator
Java Bitwise OR " |" Operator       In this section, you will learn how to use bitwise OR "|" operator in Java. The Java programming language has operators that perform 

Programming Tutorials

Master java in a week
;    Class Declaration: Class is the building block in Java...; The main method is the entry point in the Java program and java program can't run... is always first thing that is executed in a java program. Here is the main method 

Java Beginners

small java project - Java Beginners
small java project  i've just started using java at work and i need to get my self up to speed with it, can you give me a small java for beginners project to work on. your concern will be highly appreciated 

Java Beginners

small java project - Java Beginners
small java project  i've just started using java at work and i need to get my self up to speed with it, can you give me a small java for beginners project to work on. your concern will be highly appreciated 

Core Java

Java bitwise OR "|" operator
Java bitwise OR "|" operator In this section you will learn about how to use" |" operator in java. Java provides six types of operators.... Code here displays the use of "|" operator in Java: A simple 

General

Master Java In A Week
Master Java In A Week Master Java Programming Language in a week. This tutorial is good for beginners in Java and it will teach you the basics and advanced concepts of Java programming Language. Java is versatile, platform 

Java Beginners

Small program code - Java Beginners
Small program code  Develop the echo server and the echo client program that display whatever is typed in the server on to the client 

JSP Servlet Questions

small query - JSP-Servlet
small query  how to set value to textbox on browser side which is retrived from the database?  Hi friend, Plz explain problem in details which technology you have used e.g. JSP/Servlet/Java etc... For more 

General

Change Background of Master Slide Using Java
Change Background of Master Slide Using Java  ... to create a slide then change background of the master slide. In this example we are creating a slide master for the slide show. To create slide show we 

WebSevices Questions

Internet and Web related questions for Web Master.
Internet and Web related questions for Web Master.   Explain the difference between the Internet and Web. What are Web browsers? Explain the two main... is Java? What are the applications of Java that you can use for Web designing 

Java Beginners

core java - Java Beginners
core java  write a program to add two numbers using bitwise operators... BitWiseOpsTest { public static int add(int x, int y) { int xor, and, temp; and = x & y; xor = x ^ y; while(and != 0 ) { and <<= 1; temp = xor 

Java Beginners

Small typo at SCJP Module-1 Question-6
Small typo at SCJP Module-1 Question-6  Hi Team, This is a awesome site which is serving lot of peoples in learning java effectivly, thanks alot for that, A small typo at "SCJP Module-1 Question-6", in spite of "a.method 

Java Interview Questions

adding two numbers using bitwise operators
adding two numbers using bitwise operators  adding two integer numbers with using bitwise opeators   Hi Friend, Try the following code...[] args) { System.out.println("Adding 5 and 6......"); int x=5,y=6; int xor 

Java Beginners

Html+jsp+database is enough to do the small operation
Html+jsp+database is enough to do the small operation  Hai , If u want to do simple insetion and data retrival operation throw jsp ?.you need...="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage 

Java-Tutorials

Java Courses
RoseIndia Java Courses provided online for free can be utilized by beginners in Java anywhere in the world. They can use this course to master Java language and become Java developers. The courses provided here cover every topic 

Java Tips and Examples

Java as a general purpose language
of applications can be written in Java programming language such as any small... Java as a general purpose language       Java is an Object oriented application programming language 

Java Beginners

java
java  hi im new to java plz suggest me how to master java....saifjunaid@gmail.com 

Java Interview Questions

java
java  what are abstract methods   Please visit the following link: http://www.roseindia.net/java/master-java/abstract-class.shtml 

Spring Framework Questions

what is diffrence between the spring and ejb which is better for small application - Spring
what is diffrence between the spring and ejb which is better for small... for small application. and why do we need to use sping or ejb for web... is an open source application for the Java platform whereas EJB is a server-side 

Java Beginners

java
, visit the following links: http://www.roseindia.net/java/master-java/java-left-shift.shtml http://www.roseindia.net/java/master-java/java-right-shift.shtml 

Java Beginners

java
://www.roseindia.net/help/java/a/java-abstract-class.shtml http://www.roseindia.net/java/master-java/abstract-class.shtml 

Core Java

Java "&" operator
in java. Bitwise operator work on bit and perform bit by bit operation...; operator in Java: A simple example using Bitwise (AND) "&"...Java "&" operator. In this section you will learn how to use 

Training

Java Training and Tutorials, Core Java Training
: Java bitwise NOT "~" operator: Java bitwise XOR "^" operator: Java...; Bitwise and Bit Shift Operators: Java 

General

Learn the Java 8 and master the new features of JDK 8
JDK 8 - Java 8 Tutorial and examples: Learn JDK 8 with the help of examples...; Lambdas, Functional interface, Accumulators, Stream, Time API etc. and other Java bug fixes. Here we are giving the news, articles and updates of Java

Java Beginners

java
java  what is the difference between class and Class(i.e. class starting with small 'c' and with capital'C')?   is java pen source 

Java Beginners

java
??all the database must be in master computer only and all other computer must retrieve that data from the master computer only.please help 

Java Interview Questions

java prg
java prg  how to write a program in java for add two number without........."); int x=5,y=6; int xor, and, temp; and = x & y; xor = x ^ y; while(and != 0 ){ and <<= 1 

Eclipse Plugins

Masters of Java Assignment Plugin
it significantly easier to develop Master of Java Assignments by making use of the Eclipse Java IDE.  The plugin has the following features... Masters of Java Assignment Plugin   

General

Java Left Shift "<<" Operator
Java Left Shift "<<" Operator  ... Shift "<<" operator in Java. The Java programming language has operators that perform bitwise operations. In the example below we have shown 

General

Java Right Shift ">>" Operator
Java Right Shift ">>" Operator  ... shift ">>"operator in Java. The Java programming language has operators that perform bitwise operations. In the example below we have shown 

Java Beginners

java
java  am new to java, I developed a small project using netbeans 6.8, mysql and tomcat, I successfully implement login, check, change, logout.jsp with successfully connected mysql database. Now I want a forgot password jsp which 

Java Beginners

JAVA - Java Beginners
JAVA   hello urgent code required ...Read a string and convert it to uppercase and find its ASCII value..convert that ASCII value to binary take a key string do the same procedure as above and perform XOR operation on both 

Java Beginners

Java - Java Beginners
Java  Java Master get ready.... Can we make plugin for Browser in java ? Any reply is appriciated 

Java Interview Questions

java
java  What is DriverManager?  The JDBC Driver Manager is a very important class that defines objects which connect Java applications.... It's very simple and small that is used to provide a means of managing 

Java Beginners

java code - Java Beginners
, Please visit the following links: http://www.roseindia.net/java/master-java/abstract-class.shtml http://www.roseindia.net/java/master-java/interface.shtml...java code  when will go for abstract and when will go for interface 

Java Beginners

java
java  Hell Team, I am totally new to java, from net am setup in my machine netbeans, mysql and tomcat server. I am working in a small enterprise where 50-60 desktops are there, I want to create a web application where I can put 

General

Java AWT Package Example
Java AWT Package Example       In this section you will learn about the AWT package of the Java. Many running examples are provided that will help you master AWT package. Example 

Java Beginners

core java - Java Beginners
using arithmatic operations?(using Bitwise operators)  Hi you can check...-in-java/ it's about calculating two numbers Java Program Code for calculating two numbers http://www.roseindia.net/java/java-conversion/calculating-three 

Programming Tutorials

Java Tutorial
tutorial. Then learn our Master Java In A Week tutorial... competing you may start developing small projects using Java and open source... Java Tutorials If you are a beginner and looking for the Java tutorials 

Java Beginners

core java - Java Beginners
/java/language/java-keywords.shtml http://www.roseindia.net/java/master-java/java-keywords.shtml Thanks...core java  how many keywords are in java? give with category?  

Java Beginners

java - Java Beginners
://www.roseindia.net/java/master-java/java-a-general-purpose-languaage.shtml http://www.roseindia.net/java/master-java/index.shtml http://www.roseindia.net/java/master...java  hi, i'm chandrakanth.k. i dont know about java. but i'm 

JSP Servlet Questions

Java
Database because its a small application.I am doing in Netbeans IDE. Please 

Java Interview Questions

java - Java Interview Questions
java  what is the use of marker interface?????  Hi Friend, Please visit the following link: http://www.roseindia.net/java/master-java/interface.shtml Thanks 

Java Beginners

java - Java Beginners
java  hi sir/mam i'm Gomathi...... what is called interface? it has any definition?  Hi Friend, Please visit the following link: http://www.roseindia.net/java/master-java/interface.shtml Thanks 

Java Beginners

java - Java Beginners
java  where do i declare an enum?  Hi Friend, Please visit the following link: http://www.roseindia.net/java/master-java/enum.shtml Thanks 

Java Beginners

java Exception - Java Beginners
java Exception  Hello sir ,Here Exception in thread "main" java.lang.NoClassDefFoundError: bitwisedemo1/java Help me /** * Author@sushant savant a=64,I=a<<2 find I using Bitwise Left shift * */ public 

Java-Tutorials

Java made easy
but to master it. The duration of the Java course is not fixed...RoseIndia has made learning Java easy with its online Java course, Java tutorials, java projects, Java programs, Java video tutorials and Java lectures 

Java Beginners

java - Java Beginners
a key string of 4 character do the same procedure as above and perform XOR 

Java Beginners

core java - Java Beginners
"); } } ------------------------------------------- Read for more information. http://www.roseindia.net/java/master-java/index.shtml Thanks...core java  how to write a simple java program?  Hi friend 

Java Beginners

java - Java Beginners
://www.roseindia.net/java/master-java/method_overloading.shtml http.../java/master-java/abstract-class.shtml http://www.roseindia.net/java/javascript...java   your website is best look i am intension of this java 

Java Beginners

java - Java Beginners
the following links: http://www.roseindia.net/help/java/p/polymorphism.shtml http://www.roseindia.net/java/master-java/method_overloading.shtml http... may refer to different methods. In java,there are two type of polymorphism 

Java-Tutorials

Java for complete beginners
Java Guide is available at RoseIndia that help beginners to master... and application development for mobile phone, Java is in great demand and so are Java developers. Java platform is flexible, a program developed in it can run 

General

X - Java Terms
like javax.xml.transform.    Java XOR operator Java makes available the bitwise operators like AND, OR, XOR, and NOT.   ... X - Java Terms       

Java Beginners

New To JAVA - Java Beginners
://www.roseindia.net/java/master-java/index.shtml Thanks...New To JAVA  hi iam new to java..,can you please guide me how to learn the java and also tell me how many days it takes to learn java  Hi 

Java Beginners

Java Abstraction - Java Beginners
Friend, Please visit the following links: http://www.roseindia.net/java/master-java/abstract-class.shtml http://www.roseindia.net/help/java/a/java-abstract...Java Abstraction  If we declare a class as abstract then it contains 

Training

Java Web Services Online Training
of Java Web services. syllabus and what it takes to master java web services...Java Web Services Online Training Java Web Services online training enables students and learners to make interactive web based services using Java and its 

Java Interview Questions

java - Java Interview Questions
read the given tutorial. http://www.roseindia.net/java/master-java/abstract...Java Abstract Class and Interface Info  What are the Java Abstract Class and Interfaces?  Hi Bharathi Abstract Class - a class which 

Java Beginners

Core java - Java Beginners
://www.roseindia.net/java/master-java/inheritance.shtml Thanks  Hi... multiple inheritance from java is removed.. with any example.. Thank you... of Interfaces in Java Thanks 

Java Interview Questions

Core Java - Java Interview Questions
Core Java Applet  I want a small core java applet example.Thanks in Advance 

Java Beginners

Java Project - Java Beginners
these modules. All these modules are using more than two common master files i.e. employee master. Now, can you tell in Java programming with Mysql How can...Java Project  Dear Sir, I have to do Project in "IT in HR i.e. 

Java Beginners

Java Program - Java Beginners
Java Program  A Java Program that input 10 Numbers and find out...); int small = Integer.MAX_VALUE; System.out.println... number = input.nextInt(); if (number < small 

Java Beginners

java - Java Beginners
: http://www.roseindia.net/help/java/m/method-overloading-in-java.shtml http://www.roseindia.net/java/master-java/method_overloading.shtml http://www.roseindia.net/java/javascript-array/modified-java-method-overriding.shtml http 

Java Beginners

java
java  diff bt core java and java 

Java Beginners

java object - Java Beginners
information. http://www.roseindia.net/java/master-java/variables-in-java.shtml...java object  i want to where in the memory the java objects,local variables,instances variables,static variables,final variables,methods 

Java Beginners

java - Java Beginners
information : http://www.roseindia.net/java/master-java/inheritance.shtml Thanks...java  Why java does not support multiple inhertance?  Hi... the interface. In Java Multiple Inheritance can be achieved through use of Interfaces 

Java Beginners

Java for beginners
for beginners Learn Java in a day Master Java in a week All Java tutorials...Java for beginners  Java for beginners Which is the best resource to learn Java programming lanuage? Which is the best resource for learning Java 

Java-Tutorials

Learn Java online
and eventually master it. The other fact is learning Java online is free...Learning Java is now as easy as never before. Many websites today provide the facility of learning Java programming online by providing enough material like 

Java Interview Questions

java
java  what is java 

Java Beginners

java - Java Beginners
links: http://www.roseindia.net/java/java-tips/language/10basics/import.shtml http://www.roseindia.net/java/master-java/enum.shtml http://www.roseindia.net/java/java-tips/oop/constructors/constructor.shtml Thanks 

Java Beginners

java - Java Beginners
/java/master-java/java-object-oriented-language.shtml Thanks 

Java Beginners

core java - Java Beginners
://www.roseindia.net/java/master-java/interface.shtml Thanks...core java  When we will use marker interface in our application?  Hi friend, Marker Interface : In java language programming 

Java Interview Questions

Java - Java Interview Questions
Java  Respected Sir/Madam First i can introduce my self, Am Ashok Kumar C from Tamilnadu, I am going to finish Master Degree In Computer... Interview interview, Tech are c++, java,  Hi friend, Now get more 

Java Beginners

java - Java Beginners
to : http://www.roseindia.net/java/master-java/interface.shtml http://www.roseindia.net/java/master-java/abstract-class.shtml http://www.roseindia.net/interviewquestions/corejava.shtml http://www.roseindia.net/java/master-java 

Java Beginners

java - Java Beginners
the following links: http://www.roseindia.net/java/master-java/interface.shtml http://www.roseindia.net/java/master-java/abstract-class.shtml Thanks 

Java Beginners

java from Scratch - Java Beginners
/java/master-java/index.shtml Thanks...java from Scratch  Hi experts, I am new one in dotnet ,I want to switch to java side,& having theritically knowledge of java,Kindly suggest me 

Java Beginners

java - Java Beginners
computer science i seem not to be understanding java quiet clearly i still fail to do simple programs what can i do , how can i understand java and how can i master programing , i can read a flow chart and do a program but the problem 

Java Interview Questions

java
java  different between java & core java 

Java Beginners

java
java  explain technologies are used in java now days and structure java 

Java Interview Questions

java
java   why iterator in java if we for loop 

Java Beginners

Java
Java   Whether Java is pure object oriented Language 

Java Beginners

JAVA
JAVA  how the name came for java language as "JAVA 

Java Beginners

java
java  what is java reflection 

Java Beginners

java
java  is java open source 

Java Beginners

Java Variables - Java Beginners
Java Variables  Hi, I had a small doubt. What are Object Reference variables in java..What actually they do.. And What actually an Object Reference variable will contain? As there are no pointers in Java, what are object 

Java Beginners

Java Variables - Java Beginners
Java Variables  Hi, I had a small doubt. What are Object Reference variables in java..What actually they do.. And What actually an Object Reference variable will contain? As there are no pointers in Java, what are object 

Java Interview Questions

java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java 

Java Interview Questions

java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception 

Java Tips and Examples

New to Java?
Java and master the Java technologies. Java is a vast language and it requires a lot of effort to learn and master the necessary Java technology to start your... that you can learn Java step by step and master the Java and JEE technologies 

Java Beginners

java documentation - Java Beginners
java documentation   Sir my qn is that How to use javadoc tool? please explain this with a small example? How much memory is allocated for refernce variable, plz also explain me this with example 

Advertisements Advertisements
 

 

 

DMCA.com