Home / MCQ Bank / Computer
Computer Standard Libraries In Data Structures

Which Java class is used to create a thread-safe map that is part of the Java Collections Framework?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • ConcurrentHashMap

Related Computer Questions

______ is a fully integrated, state-of-the-art analytic database architected specifically to leverage strengths of Hadoop. What will be the output of the following C# code snippet? class maths { int fact(int n) { int result; if (n == 1) return 1; result = fact(n - 1) * n; return result; } } class Output { static void main(String args[]) { maths obj = new maths() ; Console.WriteLine(obj.fact(4)*obj.fact(2)); } } Which return statement correctly returns the output? Which function is used to allocate an array of elements in C? What is the output of the following code? int fact(int n) { if(n == 0) return 1; return n * fact(n - 1); } int main() { int n = 0; int ans = fact(n); printf("%d",ans); return 0; }