Posts from Java

Sort an array in wave form in Java

By Kunal Kamble

In this tutorial we will study sorting the array in the form of a wave termed wave sort and write code for it in Java. The term wave itself is self-explanatory that the element of .... Read More

Java program to swap two nibbles in a byte

By Kunal Kamble

In this tutorial, we will learn to swap two nibbles in a byte and also write its code in Java. A byte is a combination of 8 bits and one nibble consists of 4-bits. Hence every byte.... Read More

File upload on FTP server using Java

By Rohan Sethi

In this tutorial, let us learn about uploading files from your local computer to a remote FTP server in Java. The content covered, highlights the ease with which the files are uplo.... Read More

How to check if a variable is defined in Java

By Sana Simran

In this post, we will be discussing a variable, how it is declared and how to check its presence in Java. Every program made out of a language contains data that is executed and im.... Read More

Convert double number to 3 decimal places number in Java

By Swastik Panja

Here, we will learn to convert double number to 3 decimal places number in Java. There are many different ways to do that. Here, I will show you 4 ways. What is a Double number? A .... Read More

Check whether a binary tree is a full binary tree or not in Java

By Swastik Panja

In this tutorial, we will learn to check whether a binary tree is full or not in Java. There are many ways to tackle this problem; I am going to use the Recursive Method here. A Bi.... Read More

How to solve Tiling Problem in Java

By Swastik Panja

In this tutorial, we will learn how to solve a Tiling Problem in Java. Most of you already know what a Tiling Problem is, but still, I will explain it and give the basic idea behin.... Read More

minusSeconds() Method with Example in Java

By Swastik Panja

In this tutorial, we will learn about the minusSeconds() Method with an example in Java. This minusSeconds() method basically subtracts the given number of seconds from a time valu.... Read More

Related Posts