2 questions I do not have aclue about the 1st one do not know where to start.Second one I attempted but I do not know the code for staying on the first item and checking every other item against it to see if there are any duplicates.So can sum 1 pls help thanks import java.util.ArrayList; class ArrayListExtra extends ArrayList { Q1. public boolean occursUpTo( Object query, int limit) //does 'query' occur amongst the first 'limit' items in this 'ArrayListExtra' object? { } } Q2. public void removeDuplicates( ) //remove all duplicate items from this ArrayListExtra object, //so that it now contains exactly one occurrence of each item { for( int i=0;i<this.size( );i ++)