public class Main {
static class GenericElement {
public <VALUE> VALUE getValue() {
return (VALUE)"Hola";
}
}
public static void main
(String[] args
) { String value
= String.
valueOf(new GenericElement
().
getValue()); System.
out.
println("value: " + value
); }
}
cHVibGljIGNsYXNzIE1haW4gewoKICAgIHN0YXRpYyBjbGFzcyBHZW5lcmljRWxlbWVudCB7CiAgICAgICAgcHVibGljIDxWQUxVRT4gVkFMVUUgZ2V0VmFsdWUoKSB7CiAgICAgICAgICAgIHJldHVybiAoVkFMVUUpIkhvbGEiOwogICAgICAgIH0KICAgIH0KCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICAgICAgU3RyaW5nIHZhbHVlID0gU3RyaW5nLnZhbHVlT2YobmV3IEdlbmVyaWNFbGVtZW50KCkuZ2V0VmFsdWUoKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJ2YWx1ZTogIiArIHZhbHVlKTsKICAgIH0KfQ==