Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!


1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions


and many more ....



Java Packages – How to use them

 1. Introduction We look at java packages in this article. If you want to learn java, java packages topic will be a great start. We look at code samples to present how to use the java packages. 2. Java Packages Java packages help in avoiding naming collisions, access control, and separation of modules.They help in making usage of interfaces, annotations, ...

Read More »

Spring @Conditional Annotation Example

Welcome readers, in this tutorial, we will explore the @Conditional annotation of the spring framework. 1. Introduction Spring 4.0 introduced the @Conditional annotation in spring. It supports the “if-then-else ” conditional checking for bean registration. It offers a higher support level than the existing @Profile annotation in the spring framework. Developers can use the @Conditional annotation for the following reasons: ...

Read More »

Java Division Example

In this article, we will have a look at integer java division example to see different ways of how division works. 1. How to perform division in Java In java, / is the division operator. Depending upon the type of variables fed in the division operator, result of the division can be an integer or a value with precision. 1.1 ...

Read More »

Java Escape characters list

In this post, we feature a comprehensive article about escaping characters in Java. Why do we use Java Escape characters list so-called Sequence character? 1. Introduction Consider an example where I want to print the following message: My favorite movie is “Avengers” Let’s try to write the code to print this string. MyFavoriteMovieExample .java public class MyFavoriteMovieExample { public static ...

Read More »

How to download Java 64 bit

In this post, we feature a comprehensive article about how to download Java 64 bit which contains the Java Virtual Machine(JVM), Java Runtime Environment and Java Development Toolkit(JDK). As we all know, Java is a very popular programming language mainly because it is free and platform independence. To develop the java program, the first step is to download and install ...

Read More »

How to deal with java.lang.outofmemoryerror: java heap space

In this article, we will show you how to deal with java.lang.outofmemoryerror: java heap space. Firstly, we will talk about what is java.lang.outofmemoryerror in general, and for what reason this might be caused. After that, we will show examples of how to solve this problem. 1. Introduction In every Java application/program dynamic memory binding is required, in order to acquire ...

Read More »

Hibernate Inheritance Mapping Example

In this post, we feature a comprehensive article about Hibernate Inheritance Mapping. Inheritance is one of the fundamental design principles o Object-Oriented Languages. In Java, it is very common to have inheritance implemented in domain models. However, relational databases don’t support inheritance and they support flat structure. Java Persistence API suggests different strategies to support inheritance hierarchies. In this article, ...

Read More »

Java Operator Precedence Example

In this article, we will cover the details of Java operator precedence table relative to each other. 1. What are operators in Java? Operator in java is a symbol that is used to perform operations. For example: +, -, *, / etc. There are many types of operators in Java listed below, Unary Operator,Arithmetic Operator,Shift Operator,Relational Operator,Bitwise Operator,Logical Operator,Ternary Operator andAssignment ...

Read More »

What is a Field in Java ?

1. Introduction Java is an object-oriented programming language which uses “object” concept to group data and methods in a class. A variable defined in a class is called a field. A field is declared by specifying its type and name. In this example, I will demonstrate: Declare a field for the primitive data type, object, and collectionAdd static, final, transient, ...

Read More »

Unreachable Statement Java Error – How to resolve it

In this post, we will look into Unreachable Statement Java Error, when does this occurs, and its resolution. 1. Introduction An unreachable Statement is an error raised as part of compilation when the Java compiler detects code that is never executed as part of the execution of the program. Such code is obsolete, unnecessary and therefore it should be avoided ...

Read More »