Java

Bitwise Operators

In Java there are different bitwise operatora. These can be applied to long, int, short, char and byte. These operators acts on the singles bits ov a value.

By bsteatus, ago
Java

Arrays in Java

Arrays are groups of same Type variables that are accessed by their index. Once an array is cerated, the dimension of it cannot be changed, so, always take that in mind when using arrays or you will have an error.

(more…)

By bsteatus, ago
Java

Data Types in Java

Like many programming languages Java support many types of data. One important aspect in java is that is a Strongly Typed language. This means that when the code is compiled every expression is checked to ensure that all the data in it are compatible. If any error occouryou must correct the code before compiling again.

(more…)

By bsteatus, ago
Java

Java String

Java String is the class you need to access and manipulate strings. A string is a sequence of characters. In Java strings are object and not array as some other programming languages.  Every time you create a string, that cannot be changed. Insted, every time you wand to change it another String object will be created with the modified version of the string. 

(more…)

By bsteatus, ago
Java

Jump Statements

This is the last control statements that i’m writing about. This statements let’s the program to jump to other parts of the program. The are three jum statements in java: break continue return break break can be used to terminate a switch statement. Every time a case match the condition Read more…

By bsteatus, ago
Java

Iteration Statements (Java)

This control statements create loops in you program. Execute same instruction/s until a certain condition is met. There are 3 different type of iteration statements: while do-while for While The while execute the code while the condition is true. while(condition) {    statement1 } Here how it works: while the Read more…

By bsteatus, ago