Introduction to Java
Java is a general-purpose object-oriented programming language developed by Sun Microsystems of USA in 1991. Originally called Oak by James Gosling, one of the inventors of the lan
Read tutorialTHE TUTORIAL LIBRARY
Java is a general-purpose object-oriented programming language developed by Sun Microsystems of USA in 1991. Originally called Oak by James Gosling, one of the inventors of the lan
Read tutorialInheritance is the process by which one object acquires the properties of another object. This is important because it supports the concept of inheritance classification. As mentio
Read tutorialIt is always a good practice to know a little bit of history and background of any technology before starting to actually use it. In fact Java has nothing to do with the 'Island Ja
Read tutorialEncapsulation is the mechanism that binds together code and the data manipulates, and keeps both safe from outside interference and misuse. One way to think about encapsulation is
Read tutorialTable shows the order of precedence for java operators, from highest to lowest. Notice that the first row shows items that you may not normally think of as operators: parentheses,
Read tutorialJava includes a special ternary (three-way) operator that can replace certain types of if-then-else statements. This operator is the ?, and it works in java much like it does in C
Read tutorialJava provides two interesting Boolean operators not found in most other computer languages. These are secondary versions of the Boolean AND and OR operators, and are known as short
Read tutorialThe relational operators determine the relationship that one operand has to the other. Specifically, they determine equality and ordering, the relational operators are shown here:
Read tutorialThe boolean logical operators shown here operate only on boolean operands. All of the binary logical operators combine two boolean values to form a resultant boolean value.
Read tutorialAll of the binary bitwise operators have a shorthand form similar to that of the algebraic operators, which combines the assignment with the Bitwise operation. For example, the fol
Read tutorialThe >> 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 undesir
Read tutorialThe 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:
Read tutorialOne example today. A better developer tomorrow.