import java.io.*; import java.util.*; public class driver { public static void main(String[] args) { same n = new same(); System.out.println(n.sameEnds("aaa")); System.out.println(n.sameStarChar("*rrwhat*whatht")); } }