Diferencia entre oferta y Agregar en LinkedList en Java

2 Answers. The difference is that offer() will return false if it fails to insert the element on a size restricted Queue, whereas add() will throw an IllegalStateException .
Modern Mandrill