Tutorial Java – #8 Understand Stack and Heap

In order to have a deep understanding of the Object Oriented Programming in Java or any other OOP language (like C#) you must know how things are managed internally by the Java process and by the JVM. Of course Java syntax and Java implementations of OOP principles are important but you will have a more […]

Read More →
Tutorial Java – #7 Reference data type variables

In this post it is described one of the most important concepts of Object Oriented Programming: Every class instance, object, is managed only by reference type variables (for those who know also C++, you could remember that in C++ this rule is not entirely true because objects are also managed by value type variables). This […]

Read More →
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

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 Arrays

In this topic we will see how we define and process arrays data structures in Java. An array is a particular form of Java object that is used to store a homogeneous list of elements (each element of the vector has the same type as vector type – the base type). The number of elements […]

Read More →
Tutorial Java – Contents

This Java tutorial covers all important Java 6 and 7 topics and allows a new programmer to learn the concepts, the know-how and the syntax elements of Java programming language. Also the tutorial highlights important topics for the SCJP certification exam.

Read More →