Home / MCQ Bank / Computer
Computer Collections Framework In Java Difficulty: Medium

What is the difference between length() and size() of ArrayList?

Select the correct option to test your answer:

More Computer Questions

In divide and conquer, the time is taken for merging the subproblems is? If emp_id contain the following set {9, 7, 6, 4, 3, 1, 2}, what will be the output on execution of the following MySQL command? SELECT emp_id FROM person ORDER BY emp_id ASC; How many iterations are required to sort the array arr={2, 3, 4, 5, 1} using bubble sort and cocktail sort respectively? What will be the output of the following C code? #include <stdio.h> int x = 5; void main() { int x = 3; printf("%d", x); { x = 4; } printf("%d", x); } What is the purpose of the 'std::deque' container in C++ STL?