Cay Horstmann – Core Java Fundamentals, 10th edition review

April 24, 2016 Book reviews, Java 10 comments

Cay Horstmann Core Java

Core Java, Volume I – Fundamentals by Cay Horstmann is one of the most known and respected books about Java. You are reading this review most likely because somebody recommended that book to you and you wanted to learn about it more. When I was looking for new Java books some time ago, almost every forum or blog was recommending to give Core Java a try. The first edition of this book was released in 1996 covering the very first edition of Java. Today, 20 years later, we can read the tenth edition covering Java 8. (more…)

Java date and time tutorial – basics

March 29, 2016 Java 2 comments

Java date and time tutorial

This tutorial explains basics of date and time manipulation in Java 8. (more…)

Java StringBuilder tutorial – basics

March 25, 2016 Java 3 comments

Java StringBuilder tutorial

Learns the basics of Java StringBuilder with this tutorial. (more…)

Java strings tutorial – basics

March 22, 2016 Java 3 comments

Java strings tutorial

In this article I am going to teach you about basics of Java strings. (more…)

Java arrays tutorial – basics

March 19, 2016 Java 3 comments


Learn basics of arrays in Java with this quick guide. Java arrays tutorial – the basics. (more…)

Java literals

March 14, 2016 Java 2 comments

Java literals

This article explains Java literals. If you don’t know why float pi = 3.14 fails to compile, this article is a must read for you. (more…)

Initialization blocks in Java classes

February 24, 2016 Java 5 comments

Initialization block Java

Initialization blocks in Java allow you to initialize your instance variables using more complex statements. In this article,  I teach how to use non-static and static initialization blocks in Java classes. (more…)

Methods with variable amounts of arguments in Java

February 23, 2016 Java 4 comments

Java tutorial

Learn how to create Java methods with variable amount of arguments. (more…)

Default initialization of instance variables in Java

February 22, 2016 Java 4 comments

Java tutorial

In Java, if you don’t set instance variables yourself, they will be set into their default values. For numeric types it will be 0 (or 0.0 for floating-point types), boolean will be set to false and objects to null reference. Read this article to learn more about this mechanism. (more…)

Copying and converting arrays (including ArrayList) in Java

February 21, 2016 Java 1 comment

Copying and converting array and ArrayList in Java

Copying arrays is a simple operation, but must be done with caution. Doing it improperly may cause copying reference instead of actual array which may lead to a serious trouble. In this article I am explaining how to copy Java arrays the right and safe way. Additionally, I will explain how to easily convert array to ArrayList and opposite – ArrayList to array. (more…)