Trick the eye

I admit I was tricked:


import java.util.ArrayList;
public class ListProvider {
  public static <ArrayList> ArrayList getList(ArrayList ar) {
    return ar;
  public static void main(String[] args) {
      getList("I am a list");


This code compiles and runs of course.

Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at