Category: Java

Find the length of a string without using inbuild function in Java

Find the length of a string without using inbuild function in Java

In this tutorial we are going to see how to get the length of any input string without using the length() function in Java.

Here is the code goes:

import java.io.*;
import java.util.Scanner;

public class lengthofstring {
     public static void 
How to reverse a string without using default function in Java?

How to reverse a string without using default function in Java?

Learn how to reverse a string using pre-defined function and not using pre-defined function from this post. This will be useful when you are going for an Interview, most of the time interviewer ask us this kind of questions only!…

Theme: Overlay by Kaira
Agurchand