Question: Task 2: Write a java program to iterate through all elements in the ArrayDeque using iterators and print them. Task 3: Write a program to
Task 2: Write a java program to iterate through all elements in the ArrayDeque using iterators and print them.
Task 3: Write a program to perform the following task: 1. Add new data "Vishnu", "Ambreesh" and "Shivaji" at the first position of the List and print the list. 2. copy contents from one list to another.
3. find the class to which the given list belongs.
Task 4: Explain the features of ArrayDeque
Input List of data: Rajkumar, Amitab, Rajnikanth, Sharukh, Puneeth, Vijay, Surya, Chiranjeevi, Salman
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
