The answer is pretty simple. One accepts elements which are Strings and its subclass (String is final, there are no subclasses). The other takes Strings and its super classes (Object).
Another thing to note that methodA is for read only, i.e. you can not do an add inside the methodA body, but methodB can have an add call inside its body: