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

 

What is n in Java?

Bipartite Graph

1. Introduction This is an in-depth article related to the n in Java. \n is used for inserting a new line in the text. The control is passed to the next line and text is printed on the new line. 2. \n in Java Adding a new line in java is done by including “\n” at the end of the ...

Read More »

Spring Boot 3 Overview

Hello. In this tutorial, we will take a look at the Spring Boot 3 overview. You can also check this tutorial in the following video: Spring Boot 3 Tutorial – Video 1. Introduction Spring Boot 3 and Spring 6 is the recent development in the spring world where out-of-box support for native java compilation is added and all the deprecated ...

Read More »

Kubernetes – Services

It’s my second post in my Kubernetes – Objects series. In my previous post, we discussed Kubernetes Pods with some useful examples. In this post, we are going to discuss another important Kubernetes Object which is Service. 1. Introduction Like Pod, Service is also one of the important Kubernetes (K8S) objects. Each Pod has a unique IP address but it’s ...

Read More »

Keytool in Java

Bipartite Graph

1. What is Keytool? A keytool is a command line platform in Java used for storing and generating certificates and private keys. It functions by enabling users to manage and access their public and private key pairs and certificates that are cached by the server due to previous authentifications and used for SSL/TLS connections. Inorder to access the keytool command ...

Read More »

Docker Compose Networking

In this article, we will learn about Docker Compose Networking. 1. Introduction Docker is a software platform that allows you to build, test, and deploy applications quickly. Docker packages software into standardized units called containers that have everything the software needs to run including libraries, system tools, code, and runtime. Using Docker, you can quickly deploy and scale applications into ...

Read More »

Java streams api – Convert list to map

Bipartite Graph

Hello. In this tutorial, we will understand how to convert a list to a map, using the java streams api collect(Collectors.toMap(…)) method. 1. Introduction Collectors.toMap(…) method returns a new instance of the map with keys as per keyMapper function and values as per the valueMap function. It is represented by the following semantics syntax – Implementation class <T,K,U> Collector<T,?,Map<K,U>> toMap( ...

Read More »

Longest Substring Without Repeating Characters

Bipartite Graph

Hello. In this tutorial, we will implement an important data structure question known as finding the longest substring without repeating characters. 1. Introduction The implementation will talk about three different areas i.e. – Brute force method – Simplest approach to generate substrings having all unique characters from a given string and return the maximum length Sliding window method – Increasing ...

Read More »

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 »