How to add a method to MyStringClass to reverse the string without
importing the Java string library?




import java.util.Scanner;

class MyStringClass
{