Perbedaan antara Penawaran dan Tambahkan di LinkedList di 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