Рет қаралды 6,414
Java Tutorial #52 - Java Deque Interface with Examples (Collections)
In this video by Programming for Beginners we will learn Java Deque Interface with Examples, using Java Tutorial videos.
The Deque interface of the Java collections framework provides the functionality of a double-ended queue. It extends the Queue interface.
In a deque, we can insert and remove elements from both front and rear.
Classes that implement Deque
In order to use the functionalities of the Deque interface, we need to use classes that implement it:
- ArrayDeque class
- LinkedList class
Deque Methods:
addFirst() method
addLast() method
offerFirst() method
offerLast() method
getFirst() method
getLast() method
peekFirst() method
peekLast() method
removeFirst() method
removeLast() method
pollFirst() method
pollLast() method
==========
We can learn Java Programming language to make web applications or mobile applications for android phones and several other applications for windows, Mac OS and Unix operating systems. Also we can make android applications using Java programming. The concepts covered will be related to basic java and core java that will help you in your next interview questions. You can use any version of Java but all concepts will be same for all java versions. I will be using Java SE 8.
Java is a high-level programming language. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
Java is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain.
Java Tutorial for Beginners Playlist:
• Java Tutorial
Java JDK:
www.oracle.com...
Eclipse IDE:
www.eclipse.or...
KZbin Gears:
Microphone: amzn.to/3iIk5K3
Mouse: amzn.to/35irmNF
Laptop: amzn.to/3iG0jyD
#JavaTutorial #JavaForBeginners #Programming #Java
============================
LIKE | SHARE | COMMENT | SUBSCRIBE
Thanks for watching :)