BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

Check Duck Number in Java and Print these numbers in a range

By Chaitanya Singh | Filed Under: Java Examples

A positive number that contains a zero digit is called Duck Number. The important point to note is that numbers with only leading zeroes are… [Read More]

Check Buzz Number in Java and print all numbers in a range

By Chaitanya Singh | Filed Under: Java Examples

A number which either ends with 7 or divisible by 7 is called Buzz number. For example, 35 is a Buzz number as it is… [Read More]

Sphenic Number in Java – Check and Print all numbers in a range

By Chaitanya Singh | Filed Under: Java Examples

A Sphenic number is a product of three distinct prime numbers. For example, 66 is a sphenic number as it is a product of 2,… [Read More]

Split String into array of Characters in Java

By Chaitanya Singh | Filed Under: Java Examples

In this guide, we will see how to split a string into array of characters in Java. This can be archived by using this regex… [Read More]

Split String by Multiple Delimiters in Java

By Chaitanya Singh | Filed Under: Java Examples

We learned various ways to split string in Java. In this guide, we will see how to split string by multiple delimiters in Java. Program… [Read More]

Split String by Dot (.) in Java

By Chaitanya Singh | Filed Under: Java Examples

You can split a string by dot using the following regex inside the String.split() method. Here, we need to use double backslash before dot(.) to… [Read More]

Split String by space in Java

By Chaitanya Singh | Filed Under: Java Examples

In this guide, we will write a program to split a string by space in Java. Java Program to split string by space You can… [Read More]

Program to Implement Merge Sort in Java

By Chaitanya Singh | Filed Under: Java Examples

In this guide, you will learn how to implement merge sort algorithm in Java. What is a Merge Sort in Java? Merge sort algorithm is… [Read More]

Java Program to remove all the white spaces from a string

By Chaitanya Singh | Filed Under: Java Examples

In this tutorial, you will learn how to write a java program to remove all the whitespaces from a string. To do that we are… [Read More]

Java Program to find the longest repeating sequence in a string

By Chaitanya Singh | Filed Under: Java Examples

In this tutorial, you will learn how to write a java program to find the longest repeating sequence in a string. For example, if the… [Read More]

Java Program to find longest substring without repeating characters

By Chaitanya Singh | Filed Under: Java Examples

In this tutorial, you will learn how to write a java program to find longest substring without repeating characters. For example, if a string is… [Read More]

Java Program to find all subsets of a string

By Chaitanya Singh | Filed Under: Java Examples

In this article, you will learn how to write a java program to find all subsets of a String. If the number of characters in… [Read More]

Java Program to divide a String in ‘n’ equal parts

By Chaitanya Singh | Filed Under: Java Examples

In this article, we will write a java program to divide a string in ‘n’ equal parts. There are few things which we need to… [Read More]

Java Program to Check two Strings are anagram or not

By Chaitanya Singh | Filed Under: Java Examples

Anagram of a string is another string with the same characters but order of the characters can be different. For example, Two strings “Listen” and… [Read More]

Java Programs to print Pattern in Java

By Chaitanya Singh | Filed Under: Java Examples

Writing programs to print specific patterns in java is one of the best way to learn and understand the basic concepts of java programming language…. [Read More]

  • 1
  • 2
  • 3
  • …
  • 9
  • Next Page »

Copyright © 2012 – 2023 BeginnersBook . Privacy Policy . Sitemap