logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What are the basic interfaces of Java Collections Framework ?


  • Correct Answer
  • Java Collections Framework provides a well designed set of interfaces and classes that support operations on a collections of objects The most basic interfaces that reside in the Java Collections Framework are: Collection, which represents a group of objects known as its elements Set, which is a collection that cannot contain duplicate elements List, which is an ordered collection and can contain duplicate elements Map, which is an object that maps keys to values and cannot contain duplicate keys 


  • Technology problems


    Search Results


    • 1. What is the difference between processes and threads ?
    • Discuss
    • 2. Explain different ways of creating a thread. Which one would you prefer and why ?
    • Discuss
    • 3. What are pass by reference and pass by value ?
    • Discuss
    • 4. What is dynamic method dispatch?
    • Discuss
    • 5. What is the similarity between Dynamic Binding and linking?
    • Discuss
    • 6. What do you know about the big-O notation and can you give some examples with respect to different data structures ?
    • Discuss
    • 7. What?s the difference between Enumeration and Iterator interfaces ?
    • Discuss
    • 8. What is the output of this program ? class main_arguments { public static void main(String [ ] args) { String [][] argument = new String[2][2]; int x; argument[0] = args; x = argument[0].length; for (int y = 0; y < x; y++) System.out.print(" " + argument[0][y]); } }

    • Options
    • A. 1 1
    • B. 1 0
    • C. 1 0 3
    • D. 1 2 3
    • Discuss
    • 9. What is autoboxing and unboxing ?
    • Discuss
    • 10. Can you access non static variable in static context ?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment