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 ....

 

Receive Java & Developer job alerts in your Area

I have read and agree to the terms & conditions

 

Java List add() and addAll() Methods

Bipartite Graph

1. Introduction In every programming language, data structures are very important and it needs to pay more attention to what type of structure you use depending on your use case. There are multiple type of data structure like: Array. Arrays stores items at the adjoining memory location. The items from an array can be easily accessed by an index. Length ...

Read More »

error: src refspec main does not match any

1. Introduction In this example, we shall explain to you in detail what an “error: src refspec main does not match any” in “git” is and how you can deal with such errors if you encounter them in the future. 2. Error Description This error occurs when you try to push code from a local repository to a remote repository ...

Read More »

Arrays.aslist in Java

Bipartite Graph

Hello. In this tutorial, we will make understand and implement java.util.Arrays.asList(…) method. 1. Introduction Arrays.asList() method in java is used to create a fixed-size list in java. It is a static method that returns a list of homogeneous elements and does not throw any exceptions. The method is represented by the below syntax and below reports compilation errors if heterogeneous ...

Read More »

Docker Tag

1. Introduction In this article, we will explain Docker Tag with examples. A Docker tag is a named reference to an image. It is like a branch reference in Git. This tag can be used to pull and run images. The updates to the images can be pushed automatically like in Git. 2. Docker Tag Docker is used in DevOps ...

Read More »

Memory Leak in Java

Bipartite Graph

Hello. In this tutorial let us learn about memory management and memory leaks in a java programming language. 1. Introduction Memory management in java is an interesting concept where the memory is divided into three different parts. Fig. 1: Memory management in java Let us understand each part separately. 1.1 Young generation The young generation refers to a place where ...

Read More »

The DTO (Data Transfer Object)

Bipartite Graph

1. Introduction to DTO Having a big application that has multiple layers you will need to “transport” that data between different layers. To transport the data you have to encapsulate it into objects (DTO), that you can easily send it. This type of object doesn’t have any kind of logic, just some accessors,  mutators, and parsers for serialization or deserialization. ...

Read More »

MUnit Testing – Scala

1. Introduction This is an article about Munit Testing in Scala. In scala, there are unit testing frameworks that help control the quality of the code. Unit tests can be run in the suite and regression testing can be done by running the suite. There are testing frameworks like ScalaTest and Munit which provide the features of test suite and ...

Read More »

Props in react-js

Welcome readers, in this tutorial, we will understand how to use props in a react-js application. 1. Introduction React is a flexible javascript library responsible for building reusable UI components. It is an open-source component-based frontend library responsible only for the view part of an application and works in a virtual document object model. But before that let us take a ...

Read More »

useEffect hook in react-js

Welcome readers, in this tutorial, we will understand how to use useEffect() hook in a react-js application. 1. Introduction React is a flexible javascript library responsible for building reusable UI components. It is an open-source component-based frontend library responsible only for the view part of an application and works in a virtual document object model. But before that let us ...

Read More »

Conditional Rendering React

Welcome readers, in this tutorial, we will understand how to render conditional content in a react-js application. 1. Introduction React is a flexible javascript library responsible for building reusable UI components. It is an open-source component-based frontend library responsible only for the view part of an application and works in a virtual document object model. But before that let us ...

Read More »