interface

Abstract Class vs Interface

Abstract class and interface both are used to achieve abstraction where we can declare the abstract methods. Abstract class and interface both can't be instantiated.

Posted September 9, 2022 by Rohith and Anusha ‐ 1 min read

quick-references blog interface abstract-class differences

Queue Interface

The Queue interface is present in java.util package and extends the Collection interface is used to hold the elements about to be processed in FIFO(First In First Out) order. It is an ordered list of objects with its use limited to inserting elements at the end of the list and deleting elements from the start of the list, (i.e.), it follows the FIFO or the First-In-First-Out principle.

Posted August 18, 2022 by Anusha ‐ 4 min read

core java programming queue interface collections

Subscribe For More Content