Java Tutorials
341. The Unsigned Right Shift
By: aathishankaran : 2007-02-06
Description: The >> operator automatically fills the high-order bit with its previous contents each time a shift occurs. This preserves the sign of the value. However, sometimes this is undesirable.
342. The Right Shift
By: aathishankaran : 2007-02-06
Description: The right shift operator, >>, shifts all of the bits in a value to the right a specified number of times. its general form is shown here:
343. Using the Bitwise Logical Operators
By: aathishankaran : 2007-02-06
Description: The program demonstrates the Bitwise logical operators
344. The Bitwise Logical Operator
By: aathishankaran : 2007-02-05
Description: The Bitwise logical operators are &, |, ^, and ~. The following table shows the outcome of each operation. In the discussion that follows, keep in mind that the Bitwise operators are applied to each individual bit within each operand.
345. The Bitwise Operators
By: aathishankaran : 2007-02-05
Description: Java defines several Bitwise operations, which can be applied to the integer types, long, int, short, char, and byte. These operators act upon the individual bits of their operands. They are summarized in the following table:
346. Increment and Decrement Operator
By: aathishankaran : 2007-02-05
Description: The ++ and the -- are java's increment and decrement operators. They were introduced in previous article. Here they will be discussed in detail. As you will see, they have some special properties that make them quite interesting. Let us begin by reviewing precisely what the increment and decrement operators do.
347. The modulus Operators
By: aathishankaran : 2007-02-05
Description: The modulus operator, % returns the remainder of a division operation. It can be applied to floating-point types as well as integer types. (This differs from C/C++, in which the % can only be applied to integer types.) The following example program demonstrates the %:
348. Arithmetic Operators in Java
By: aathishankaran : 2007-02-05
Description: Java provides a rich operator environment. Most of its operators can be divided into the following four groups: arithmetic, bit wise, relational, and logical. Java also defines some additional operators that handle certain special situations. This article will describes java's operators except for the type comparison operator instance of.
349. Manipulating Arrays
By: aathishankaran : 2007-02-01
Description: A different type of loop is used in manipulation of arrays. Consider the following example:
350. Lexical Issues
By: aathishankaran : 2007-02-01
Description: Now we will see atomic elements of java. Java programs are a collection of white space identifiers, comments, literals, operators, separators, and keywords. The operators are described in the next article