if you want to remove an article from website contact us from top.

    which one will be the right option when working with the collection of items

    Mohammed

    Guys, does anyone know the answer?

    get which one will be the right option when working with the collection of items from screen.

    Collections

    This is the java programming questions and answers section on

    Collections - Java Multiple Choice Questions and Answers

    This is the java programming questions and answers section on "collections" with the explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given, and it would be easy to understand.

    Java Collections Questions - Quiz Details

    Online Test Name Java CollectionsExam Type Multiple Choice QuestionsCategory Computer Science Engineering QuizNumber of Questions 16

    1. Which of these packages contain all the collection classes?

    A. java.lang B. java.util C. java.net D. java.awt View Answer Workspace Report Discuss

    2. Which of these classes is not part of Java's collection framework?

    A. Maps B. Array C. Stack D. Queue View Answer Workspace Report Discuss

    3. Which of these interface is not a part of Java's collection framework?

    A. List B. Set C. SortedMap D. SortedList View Answer Workspace Report Discuss

    4. Which of these methods deletes all the elements from invoking collection?

    A. clear() B. reset() C. delete() D. refresh() View Answer Workspace Report Discuss

    5. What is Collection in Java?

    A. A group of objects

    B. A group of classes

    C. A group of interfaces

    D. None of the mentioned

    View Answer Workspace Report Discuss « 1 2 3 4 »

    Related Topics:

    Operators java.lang Package Serialization java.io Package Exception Handling

    Input Output Streams

    Threads Arrays java.util Package Applets

    Mock Tests & Online Quizzes

    Aptitude Online Test

    Reasoning Online Test

    GK Online Test English Online Test RRB Mock Test RBI Mock Test Free SBI Mock Test IBPS Mock Test FREE SSC Mock Test CAT Exam Mock Test GATE Mock Test IT Courses Quiz

    स्रोत : www.allindiaexams.in

    Objects and Collections

    This is the java programming questions and answers section on "Objects and Collections" with explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand.

    Home Aptitude CA GK Interview Online Tests

    Java Programming :: Objects and Collections

    Home » Engineering » Java Programming » Objects and Collections » General Questions

    Exercise :: Objects and Collections - General Questions

    Objects and Collections - General Questions

    Objects and Collections - Finding the output

    Objects and Collections - Pointing out the correct statements

    1.

    Suppose that you would like to create an instance of a new that has an iteration order that is the same as the iteration order of an existing instance of a . Which concrete implementation of the interface should be used for the new instance?

    A. TreeMap B. HashMap C. LinkedHashMap

    D. The answer depends on the implementation of the existing instance.

    View Answer Discuss in Forum Workspace Report

    2.

    Which class does not override the and methods, inheriting them directly from class Object?

    A. java.lang.String B. java.lang.Double

    C. java.lang.StringBuffer

    D. java.lang.Character

    View Answer Discuss in Forum Workspace Report

    3.

    Which collection class allows you to grow or shrink its size and provides indexed access to its elements, but whose methods are not synchronized?

    A. java.util.HashSet

    B. java.util.LinkedHashSet

    C. java.util.List

    D. java.util.ArrayList

    View Answer Discuss in Forum Workspace Report

    4.

    You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?

    A. java.util.Map B. java.util.Set C. java.util.List

    D. java.util.Collection

    View Answer Discuss in Forum Workspace Report

    5.

    Which interface does implement?

    A. Java.util.Map B. Java.util.List

    C. Java.util.HashTable

    D. Java.util.Collection

    View Answer Discuss in Forum Workspace Report

    1 2 3 Next »

    Read more:

    Objects and Collections - Finding the output

    Objects and Collections - Pointing out the correct statements

    Current Affairs 2022

    Interview Questions and Answers

    © 2009 - 2022 by IndiaBIX™ Technologies. All Rights Reserved. | Copyright | Terms of Use & Privacy Policy

    Contact us: [email protected]

    स्रोत : www.indiabix.com

    JavaMadeSoEasy.com (JMSE): Collection Quiz in Java

    JavaMadeSoEasy.com (JMSE)

    Home Core Java Tutorials Interview Questions Interview Programs Custom Quiz/OCJP MS EXCEL Database More About

    Collection Quiz in Java - MCQ - Multiple choice questions

    This Quiz consists of Collection's 150 Multiple choice questions in 6 sets - Java Collection quiz - MCQ

    Contents of page >

    Collection Java - MCQ set 1 (25 questions, 55 marks)

    Collection Java - MCQ set 2 (25 questions, 55 marks)

    Collection Java - MCQ set 3 (25 questions, 55 marks)

    Collection Java - MCQ set 4 (25 questions, 55 marks)

    Collection Java - MCQ set 5 (25 questions, 55 marks)

    Collection Java - MCQ set 6 (25 questions, 55 marks)

    Note : Each set consists of 25 questions

    Each set consists of 5 EASY level difficulty questions 1 mark each.         1 * 5 = 5 marks

    Each set consists of 10 MEDIUM level difficulty questions 2 mark each. 2 * 10 = 20 marks

    Each set consists of 10 HARD level difficulty questions 3 mark each.       3 * 10 = 30 marks

    So, each Set is TOTAL of 55 marks

    This quiz have been designed to check beginners and experienced Java developers skills.

    Scoring below 15 marks means POOR : You are Java Beginner and need to work very hard.

    Scoring 15-34 marks means AVERAGE : You know Java basics, but you need more practice.

    Scoring 35-50 marks means GOOD : You have good Java knowledge.

    Scoring above 50 marks means EXCELLENT : You have outstanding java knowledge.

    Collection Java - MCQ set 1 (25 questions, 55 marks)

    Collection Java - MCQ set 2 (25 questions, 55 marks)

    Collection Java - MCQ set 3 (25 questions, 55 marks)

    Collection Java - MCQ set 4 (25 questions, 55 marks)

    Collection Java - MCQ set 5 (25 questions, 55 marks)

    Collection Java - MCQ set 1 (25 questions, 55 marks) Collection Java - MCQ set 2 (25 questions, 55 marks) Collection Java - MCQ set 3 (25 questions, 55 marks) Collection Java - MCQ set 4 (25 questions, 55 marks) Collection Java - MCQ set 5 (25 questions, 55 marks) Collection Java - MCQ set 6 (25 questions, 55 marks)

    Labels: Core Java Exam java Java Mcq(Multiple choice questions) Java QUIZMust read for you :

    Newer Post Older Post Home Algorithm

    Apache Tomcat Server

    Collection Framework

    Collection programs

    Collections implementation

    Core Java

    Core Java Differences

    Core Java Tutorials

    Custom implementation of Data Structures

    Data Structure Date tutorials eclipse Exceptions

    File IO/File handling

    Garbage collection in java

    Generics Hashing Interview questions iText Pdf tutorial Java 7 Java 8 Java 9 Java QUIZ JavaScript JDBC JSON JUNIT JVM

    Level1 programs (beginners)

    Level2 programs (intermediate)

    Level3 programs (advanced)

    Linked List Linux Matrix programs Maven MongoDB MongoDB Java MS Excel MsSql MultiThreading MySql Notepad++ Oracle OutOfMemoryError

    Overriding equals and hashCode

    PostgreSQL

    Producer Consumer problem/pattern

    Pyramid generation RegEx Serialization Thread Concurrency Threads TUTORIALS UNIX Windows

    Join our Groups>

    FACEBOOK LINKED IN

    Search This Blog

    Search This Blog All Labels

    Algorithm(34) Apache Tomcat Server(4) Arrays Java(30) Autoboxing(5) Basic java programs for beginners(15) Binary Trees(6) Collection Framework(68) Collection programs(105) Collections implementation(16) Comparable and Comparator program(22) Core Java(1035) core java Basics(38) Core java Conversions(21) Core Java Differences(11) Core Java Tutorials(12) CRUD MongoDB java(5) CRUD operations MongoDB(3) Custom implementation of Data Structures(11) Data Structure(26) Database(1) Database Tutorials(3) Date tutorials(11) DeSerialization(19) eclipse(27) Exam java(33) Exceptions(71) File IO/File handling(71) Garbage collection in java(43) Generics(5) Hashing(8) Hibernate(1) Interview questions(14) iText Pdf tutorial(45) Java 4(1) java 5(3) Java 7(32) Java 8(80) Java 9(12) Java keywords(11) Java Mcq(Multiple choice questions)(5) Java Programs(8) Java QUIZ(24) JavaScript(28) JDBC(74) JSON(27) JUNIT(7) JVM(22) JVM parameters(10) Level1 programs (beginners)(34) Level2 programs (intermediate)(23) Level3 programs (advanced)(13) Linked List(15) Linux(7) Matrix programs(10) Maven(6) MongoDB(87) MongoDB Java(20) MS Excel(44) MsSql(1) MultiThreading(97) MySql(7) Nashorn Javascript (js) Engine in Java 8(26) Notepad++(6) Oracle(18) OutOfMemoryError(13) Overriding equals and hashCode(11) Pattern generating(14) PostgreSQL(1) Producer Consumer problem/pattern(10) Pyramid generation(14) Recursion(10) RegEx(7) SCJP(26) Serialization(20) Serialization top interview questions and answers in java(18) Thread Concurrency(35) Threads(73) TUTORIALS(22) UNIX(1) Windows(8)

    Popular Posts of JavaMadeSoEasy

    Collection Quiz in Java - MCQ - Multiple choice questions

    Java 8 quiz - MCQ - Multiple choice questions

    Thread/multi threading Quiz in Java - MCQ - Multiple choice questions

    Exception handling Quiz in Java

    vi error - E37: No write since last change (add ! to override)

    CORE JAVA - Top 120 most interesting and important interview questions and answers in core java

    Serialization and Deserialization Java Quiz - MCQ

    Solve [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven: Compilation failure: Compilation failure: diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)

    स्रोत : www.javamadesoeasy.com

    Do you want to see answer or more ?
    Mohammed 12 day ago
    4

    Guys, does anyone know the answer?

    Click For Answer