## Write a program to print distinct elements of an array by avoiding duplicate numbers

Write a program to print distinct elements of an array by avoiding duplicate numbers This article will help you to understand “Java program to print distinct elements of an array”.

## Write a program to convert binary number to decimal number

Write a program to convert binary number to decimal number This article will help you to understand “Java program to convert binary number to decimal number”. We need to write a program to convert binary number to a decimal number using numeric operations. Java program to convert binary number to decimal number

## Write a program to convert decimal number to binary number

Write a Program to Convert Decimal number to Binary number We need to write a Java Program to Convert Decimal number to Binary number without using any inbuilt function. We

## Write a Program to find common elements between two arrays

Write a Program to find common elements between two arrays We need to write Java Program to find common elements between two arrays without using any common inbuilt functions. Java

## Write a Program to swap two numbers without using temporary variable

Write a Program to swap two numbers without using temporary variable We need to write a Program to swap two numbers without using temporary variable. We can achieve this by

## Write a Program to sort a map by value

Java program to sort map by value This article will help you to understand “Java program to sort map by value”. In Sorting any Map like HashMap by value, we

## Write a Program to check if given number is Perfect number or not

Write a Program to check if given number is Perfect number or not This article will help you to understand Java program to check perfect number. A perfect number is

## Write a Program to check if given number is binary or not

Write a Program to check if given number is binary or not This article will help you to understand “java program to check binary number”. In mathematics and digital electronics,

## Write a Program to Reverse a String using Recursive Methods

Java program to reverse string using recursive methods. Write a Java program to Reverse String using Recursive Methods. We should not use any string reverse methods to perform this task.

## Write a program to reverse a number

Write a program to reverse a number This article will help you to understand “Java Program to reverse number” We need to write a program to reverse a number using

## Write a Program with Singleton Class Example

Write a Program with Singleton Class Example This article will help you to understand Singleton Class Example. Purpose of the Singleton class is to restrict object creation to only one

## Find 5 Most Frequent Phrases from a given file

Find 5 Most Frequent Phrases from a given file This article will help you to understand “Find 5 most frequent phrases in java.” Given a file has 8 phrases per

## Write a Program to find duplicate number between 1 to N Numbers

Write a Program to find duplicate number between 1 to N Numbers This article will help you to understand “Java Program to find duplicate number.” Here we have an array

## Write a Program to find K-complementary pairs in a given array of integers

Write a Program to find K-complementary pairs in a given array of integers This article will help you to understand “Java Program to find k-Complementary Pairs.” If Arr is Given

## Check if Given number is Armstrong Number or not in Java

Check if Given number is Armstrong Number or not in Java This article will help you to understand “Java Program Of Armstrong Number.” Armstrong numbers (also known as narcissistic number)

## Check whether given String is Palindrome or not in Java

Check whether given String is Palindrome or not in Java This article will help you to understand Java Program to Check Palindrome. Palindrome is a String or numeric value which

## Program to print Factorial in java.

Program to print Factorial in java. This article will help you to understand “Java Program to Print Factorial.” Factorials are just products, indicated by an exclamation mark. For instance, “five

## Print Prime numbers up to given number.

Print Prime numbers up to given number. This article will help you to understand “Java Program Of Prime Numbers.” A prime number (or a prime) is a natural number greater

## Write a Program to Print Fibonacci Series up to Given Number.

Print Fibonacci Series up to Given Number. This article will help you to understand “Fibonacci Series in java.” In the Fibonacci sequence of numbers, each number is the sum of