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 Identifier Explained

In this article, we will see examples of the identifier in the java programming language, which is a very important aspect of Programming. 1. Introduction In C, C++, C#, Java, and other programming languages, an identifier is a name that is assigned by the user for a program element such as variable type, template, class, function, or namespace. It is usually limited to letters, digits, and ...

Read More »

Docker Elasticsearch Integration Tutorial

Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the resources so I will keep this tutorial simple and easy. 1. Introduction to Docker In the present world, Docker is an important term, Often used in CI/CD platform that packages and runs the application with ...

Read More »

Java Array Contains Example

1. Introduction An array is a container object that holds a fixed number of elements with a single type. Java not only provides Arrays to copy, sort, and search elements, it also provides the collection framework to check if a certain value in a collection with the contains method. In this example, I will demonstrate: Find an element in a ...

Read More »

Wrapper Class Java Example

1. What is a wrapper class A wrapper class in Java is a way to convert a primitive data type such as boolean, int, etc. into an object. Also, we can convert an object of a wrapper class into its corresponding primitive type. In this article we are going to talk about why we need wrapper classes, autoboxing, and autounboxing. ...

Read More »

Java Comments

Comments in Java are non-executable statements that are used to provide additional information about some piece of code logic, method, or class. In this article, we shall discuss types of comments, and when and how to write them. 1. Comments in Java and their types Comments are non-executable statements that are provided to understand code better. These are usually provided ...

Read More »

Java Bean Example

In this example, we are going to demonstrate how to use and configure the Java Bean. 1. Introduction In computing based on the Java Platform, JavaBeans are classes that encapsulate many objects into a single object (the bean). They are serializable, have a zero-argument constructor, and allow access to properties using getter and setter methods. The name “Bean” was given ...

Read More »

Timestamp Java Example

In this article we will create a Timestamp Java Example. 1. Introduction In a typical application, there are a lot of events like orders receipt, payment request sent, users logging in, orders shipping to name a few. The events may also be negative such as network failure, invalid user login, product failure so on. To answer questions around such events ...

Read More »

How to create an Array in Java

In this article, we will see How to create an Array in Java. 1. What is an array? An array is a data structure used as a container to store a collection of elements with the same type. The size of an array is fixed once created. Elements stored in an array can be primitive values or variables but they ...

Read More »

Copy Constructor Java Example

In this tutorial, we shall discuss the Copy Constructor in Java. In the world of object-oriented programming, a copy constructor is a special type of constructor that takes an object of the same class as an argument and returns a duplicate or a copied instance of the input object initialized with the values of the member variables of the passed ...

Read More »

Serializable Java Example – How to serialize and deserialize objects

In this article, we will discuss what is Serializable in Java using examples and how to serialize and deserialize objects. 1. Introduction Serialization is the process of converting an object into a stream of bytes. De-serialization is the reverse process which converts a stream of bytes into an object. Java provides a Serializable marker interface, ObjectInputStream, and ObjectOutputStream classes to ...

Read More »