Tutorial Java – #6 Classes and objects

Tutorial Java – #6 Classes and objects

Classes represent the basic principles of object-oriented programming. Classes are abstract concepts, stories, blueprints, describing: characteristics, attributes of an object; these represent what the object knows, what it is; object methods; these represent what the object knows to do, its behavior; Based on classes, the programmer can define something concrete, objects. Thus, by instantiating the […]

Read More
Tutorial Java 6 – #5 Flow control statements

Tutorial Java 6 – #5 Flow control statements

In this post we can see how to implement in Java, the basic flow control structures / statements: decision-making structures: if – then, if – then – else, switch; structures for loop blocks: do-while, while – do, enhanced – for; loop control instructions: break, continue; Using control structures we can write programs for which the […]

Read More
Tutorial Java 6 – #4.3 Matrixes and Multidimensional Arrays

Tutorial Java 6 – #4.3 Matrixes and Multidimensional Arrays

In this post we will see what are and how to define multidimensional arrays. The most common multidimensional array is the matrix – a two dimension array. Despite the fact in our mind a two-dimension array is like a table, a matrix is in Java an array of arrays, like in this image (a two-dimension […]

Read More
Tutorial Java 6 – #4.2 How to copy values of an array into another array

Tutorial Java 6 – #4.2 How to copy values of an array into another array

In this post are described the methods used to copy one array values into another array. Do not forget that arrays are objects in Java ( Java Tutorial 6 – #4 Arrys ) which means that the array variable that manage the collection of values is a reference, a pointer, which contains the address of […]

Read More
How to encrypt / decrypt with AES from Bouncy Castle API in J2ME applications

How to encrypt / decrypt with AES from Bouncy Castle API in J2ME applications

In this post we will see how to use the AES (Advanced Encryption Standard) or Rijndael algorithm implementation from the Bouncy Castle API for J2ME platform. The example will use the AES lightweight engine to encrypt and decrypt a file managed by a J2ME (Midlet) application. The Bouncy Castle Crypto API for Java provides a […]

Read More
Tutorial Java 6 – #2.1 How to write or generate JavaDoc comments

Tutorial Java 6 – #2.1 How to write or generate JavaDoc comments

In software programming it is important to document the source code, because: you will have a clear picture of complex Java projects with many classes or modules; you will be able, later, to understand what was done so that you can modify, add or delete it. For Java applications, documentation is usually supplied in HTML […]

Read More
Tutorial Java 6 – #2.2 How to generate JavaDoc in Eclipse or NetBeans

Tutorial Java 6 – #2.2 How to generate JavaDoc in Eclipse or NetBeans

Java source code documentation is represented by JavaDoc projects, which are a collection of HTML pages describing the classes and methods in the code. To generate Javadoc documentation you need a tool from the JDK, javadoc.exe , and comments in the source code written according to strict rules (  ). Because it is more efficient to […]

Read More
How to make a Line Chart in Flex with static data

How to make a Line Chart in Flex with static data

The following example shows how you can create a LineChart in Flex by using static data from an array. The chart is created in MXML without any ActionScript code. The example shows you how you can create a simple animated chart without knowing ActionScript (with ActionScript you can create more dynamic and interactive charts, but […]

Read More
How to set environment variables in Windows 7 for Java

How to set environment variables in Windows 7 for Java

Environmental variables are used by the operating system to save settings (default values, locations of resources) to be used by Windows or by processes launched by users.There are two types of environmental variables: user variables that are specific to a particular Windows user account; system variables are always visible, regardless of the used user account.

Read More
Tutorial Excel 2003 – Bara de instrumente pentru formatare

Tutorial Excel 2003 – Bara de instrumente pentru formatare

Prelucrarea datelor din registrul de lucru nu se rezumă doar la a aplica diverse funcţii şi formule care să conducă la rezultatele finale. Din cauza numărului mare de date incluse în foia de lucru, utilizatorul este nevoit să evidenţieze anumite zone de date astfel încât să faciliteze citirea şi înţelegerea ulterioară a acestora. Aplicaţia Excel […]

Read More
TOP