Which collection object is faster to retrieving the data and
inserting the data into it.

Answer Posted / nav dev

ArrayList is faster to retrieving

Set is faster to inserting

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which browsers work with java?

571


What is the difference between array and array list in java?

609


Can size_t be negative?

620


How can you handle java exceptions?

535


Does chrome use java?

525






How can we use primitive data types as objects?

562


Who is the owner of java?

545


Name few java util classes introduced with java 8 ?

512


What's the difference between an abstract class and interface in java?

565


How do you create a method in java?

553


How do you sort arrays in java?

530


What is data type in java?

491


Why do we use variables?

517


What is numeric data type?

535


Can we declare register variable as global?

517