Pergunta de entrevista da empresa Citi

can we add subclass in generics diff between concurrent lock and synchronization own queue and increase the size of queue