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!…