unexpected java behaviour case #1:
Given that you have an ArrayList<String> someArray, and you were to call .clone() on this, what would you expect the returned type to be?
a. ArrayList<String>b. ArrayList<SomeGenericTypeIDK>c. Object
if you answered a, congratulations, you’re sane! however you are wrong. the answer is somehow c.