How to check if 2 strings are alike by using recursion?
For example 

    check("abs","abc");// Return true
    check("ab","ac");// Return false
    check("abs","abc");// Return false

How would you write this method recursively

  

      public static String check(String 1, String 2) {
    
    ??
    }

How to check if 2 strings are alike by using recursion?
===

For example 

    check("abs","abc");// Return true
    check("ab","ac");// Return false
    check("abs","abc");// Return false

How would you write this method recursively

  

      public static String check(String 1, String 2) {
    
    ??
    }
