Posts from Java

Remove non-ASCII characters from String in Java

By Mriganka

This tutorial is a guide to (as the name suggests), how to remove all the non-ASCII characters in a string in Java. ASCII which is an abbreviation of ‘American Standard Code .... Read More

Java Program to Print Automorphic Numbers

By Priyam Patel

In this tutorial, We will be going to Deal with Java Program to Print Automorphic Numbers Problem. We will Understand What are Automorphic Numbers and How to Implement The concept .... Read More

Get Extension Of File In Java

By Shubham Kumar

In this tutorial, we will learn or figure out how to get the extension of any file through the Java program easily. In Java, there is no built-in API to find the extension of a fil.... Read More

How to Generate Array Of Random Numbers In Java

By Shubham Kumar

In this instructional exercise, we will learn how to generate the array of random numbers in Java using simple java code. If you don’t know how to generate random numbers, th.... Read More

How to move all the capital letters to end of a string in Java

By Shakshi Parekh

In this context, we will learn how to move all the capital letters to the end of a string in Java. So if the user enters Let us Learn Java Output will be et us earn avaLLJ. Java pr.... Read More

Capitalize the first letter of every array elements in Java

By Zeyan Ansari

Hello, coders today we are going to learn how to capitalize the first letter of every array elements in Java. EXPLANATION: First, we will create an array having elements with their.... Read More

Calculating the Area of Triangle in all 4 ways in Java

By Kollabathula Preetham

Hey coders! In this tutorial, we will learn the different ways of calculating the area of a Triangle and implement it in code in Java. So a Triangle has three sides and three angle.... Read More

Creating a User Defined Kafka Producer Application in Java

By Anand Shukla

Apache Kafka is a distributed, replicated commit log service commonly used for publish/subscribe type messaging, website activity handling, metric & log aggregation and stream .... Read More