Skip to content

Category Archives: Java Programs

As we are are well verse with this topic let us put more stress in order to figure out minute differences between them. Here we… Read More
There are multiple ways to change byte array to String in Java, you can either use methods from JDK, or you can use open-source complementary… Read More
Given an enum containing a group of constants, the task is to convert the enum to a String. Attention reader! Don’t stop learning now. Get… Read More
Given a string “str” in Java, the task is to convert this string to float type. Methods:Attention reader! Don’t stop learning now. Get hold of… Read More
There are many ways to convert integer List to ArrayList where in this article we will be discussing out 2 approaches as below: Using concept… Read More
Zhu-Takaoka String Matching Algorithm is a Variant of Boyer Moore Algorithm for Pattern Matching in a String. There is a slight change in the concept… Read More
Depth First Traversal (or Search) for a graph is similar to Depth First Traversal of a tree. The only catch here is, unlike trees, graphs… Read More
String Interpolation is a process in which the placeholder characters are replaced with the variables (or strings in this case) which allow to dynamically or… Read More
Java is the most powerful programming language, by which we can perform many tasks and Java is an industry preferable language. So it is filled… Read More
Given a String, the task is to convert the string into an Array of Strings in Java. It is illustrated in the below illustration which… Read More
Given string str of length N, the task is to traverse the string and print all the characters of the given string using java. Illustration:Attention… Read More
Given a string, the task is to convert the string to InputStream which is shown in the below illustrations. Illustration:Attention reader! Don’t stop learning now.… Read More
In this program, we will be discussing various methods for replacing multiple characters in String. This can be done using the methods listed below:  Using… Read More
Double quotes are mainly used to indicate a string. When we print any string, the double quotes are not printed but only the value inside… Read More
Strings – Strings in Java are objects that are supported internally by a char array. Since arrays are immutable, and strings are also a type… Read More

Start Your Coding Journey Now!