import java.util.Arrays;
class Ideone
{
public static <E> void genericMethod(E e) {
final int size = 2;
objectArr[0] = "foobar";
@SuppressWarnings("unchecked")
E[] integerArr = (E[]) objectArr;
integerArr[1] = e;
System.
out.
println(e.
getClass().
getName()); System.
out.
println(integerArr.
getClass().
getName()); }
public static void main
(String[] args
) { }
}
aW1wb3J0IGphdmEudXRpbC5BcnJheXM7CiAKY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgPEU+IHZvaWQgZ2VuZXJpY01ldGhvZChFIGUpIHsKCQlmaW5hbCBpbnQgc2l6ZSA9IDI7CgkgICAgT2JqZWN0W10gb2JqZWN0QXJyID0gbmV3IE9iamVjdFtzaXplXTsKCSAgICBvYmplY3RBcnJbMF0gPSAiZm9vYmFyIjsKIAoJICAgIEBTdXBwcmVzc1dhcm5pbmdzKCJ1bmNoZWNrZWQiKQoJCUVbXSBpbnRlZ2VyQXJyID0gKEVbXSkgb2JqZWN0QXJyOwoJICAgIGludGVnZXJBcnJbMV0gPSBlOwogCgkgICAgU3lzdGVtLm91dC5wcmludGxuKEFycmF5cy50b1N0cmluZyhpbnRlZ2VyQXJyKSk7CgkgICAgU3lzdGVtLm91dC5wcmludGxuKGUuZ2V0Q2xhc3MoKS5nZXROYW1lKCkpOwoJICAgIFN5c3RlbS5vdXQucHJpbnRsbihpbnRlZ2VyQXJyLmdldENsYXNzKCkuZ2V0TmFtZSgpKTsKCX0KIAogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewogICAgICAgIGdlbmVyaWNNZXRob2QobmV3IEludGVnZXIoNSkpOwogICAgfQp9