Antarmuka fungsional java generik

@FunctionalInterface
interface MyInterface {
    String reverseString(String n);
}
SAMER SAEID