Question

Which of the folowing are interfaces in java? (a) HashMap (b) LinkedList (c) ArrayList (d) Set...

Which of the folowing are interfaces in java? (a) HashMap (b) LinkedList (c) ArrayList (d) Set (e) HashSet (f) Map (g) List

0 0
Add a comment Improve this question Transcribed image text
Answer #1


d)  Set
f)  Map
g)  List
Add a comment
Know the answer?
Add Answer to:
Which of the folowing are interfaces in java? (a) HashMap (b) LinkedList (c) ArrayList (d) Set...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Which of the following interfaces works well for a data structure that can be used for...

    Which of the following interfaces works well for a data structure that can be used for a queue? a) set b) map c) list d) collection in java

  • 1.   Suppose you must write a program that performs statistical calculations for a very large set...

    1.   Suppose you must write a program that performs statistical calculations for a very large set of numerical data. Which would not be the best choices for storing such a collection if performance is important? (select all that apply) Select one or more: A. ArrayList B. LinkedList C. HashMap D. An array of type int or double 2. Which of the following statements is true? Select one: A. The Java map classes can access objects by reference values. B. The...

  • JAVA PROGRAMMING PLEASE This lab has three parts: Create an ArrayList class. Create a LinkedList class....

    JAVA PROGRAMMING PLEASE This lab has three parts: Create an ArrayList class. Create a LinkedList class. Print out the results after testing each of the methods in both of the classes and solving a simple problem with them. Task 1 – ArrayList Class Create an ArrayList class. This is a class that uses an internal array, but manipulates the array so that the array can be dynamically changed. This class should contain a default and overloaded constructor, where the default...

  • Please use Java programming: Modify both ArrayList and LinkedList classes and add the following method to...

    Please use Java programming: Modify both ArrayList and LinkedList classes and add the following method to both classes: public void reverseThisList(), This method will reverse the lists. When testing the method: print out the original list, call the new method, then print out the list again ------------------------------------------------------------------------- //ARRAY LIST class: public class ArrayList<E> implements List<E> { /** Array of elements in this List. */ private E[] data; /** Number of elements currently in this List. */ private int size; /**...

  • Please use Java only: Background: Java contains several different types of interfaces used to organize collections...

    Please use Java only: Background: Java contains several different types of interfaces used to organize collections of items. You may already be familiar with the List interface, which is implemented by classes such as the ArrayList. A List represents a collection of elements from which elements can be stored or retreived, in which elements are ordered and can be retrieved by index. A List extends from a Collection, which represents a collection of elements but which may or may not...

  • Which operations are more efficient for LinkedList? (a) read (b) update (c) delete (d) insert (e)...

    Which operations are more efficient for LinkedList? (a) read (b) update (c) delete (d) insert (e) search

  • 11. Let the universal set be the set U = {a,b,c,d,e,f,g} and let A = {a,c,e,g}...

    11. Let the universal set be the set U = {a,b,c,d,e,f,g} and let A = {a,c,e,g} and B = {d, e, f, g}. Find: A ∪ B 12. Let the universal set be the set U = {a,b,c,d,e,f,g} and let A = {a,c,e,g} and B = {d, e, f, g}. Find: b. A ∩ B    13. Let the universal set be the set U = {a,b,c,d,e,f,g} and let A = {a,c,e,g} and B = {d, e, f, g}. Find: AC...

  • Which statement is false for a List, which would be true for a Set? (Advanced Java...

    Which statement is false for a List, which would be true for a Set? (Advanced Java question) Lists are zero based. b. A List is an ordered (default sorted) Collection c. A List is sometimes called a sequence d. A List cannot contain duplicate elements

  • Java. For C through H True or false? c. Primitive variables must be objects. d. Integer...

    Java. For C through H True or false? c. Primitive variables must be objects. d. Integer x; generates a compile time error. e. Integer y = new Integer(); generates a compile time error. f. Integer z = new Integer(3); generates a compile time error. g. Integer u = new Integer(3.14); generates a compile time error. h. Integer w = new Integer("345"); generates a compile time error. 1.) What is true of classes that can be used with the enhanced for...

  • Lab #4 – Recursive Methods for Generic ArrayList ----- JAVA The problem Use recursion to implement...

    Lab #4 – Recursive Methods for Generic ArrayList ----- JAVA The problem Use recursion to implement some list functionalities on an ArrrayList of generic type using type parameters in method definition Our goal for this lab is to continue using the divide and conquer approach of splitting a list into its head and tail and keep recursing on the tail (which happens to be smaller). However, instead of trying the approach on a string (a list of characters) we would...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT