Programing & IT Mcqs

Practice programming and information technology MCQs covering coding, software development, databases, networking, and computer applications.

Java Programming, Programing & IT Mcqs

100+ MCQ & Answer Java programming | page-04 |Computer Engineering MCQ And Answer

31. Which of the following is a valid syntax to synchronize the HashMap? A. Map m = hashMap.synchronizeMap(); B. HashMap map =hashMap.synchronizeMap(); C. Map m1 = Collections.synchronizedMap(hashMap); D. Map m2 = Collection.synchronizeMap(hashMap); Answer Option : C 32. Which of the following is a mutable class in java? A. java.lang.String B. java.lang.Byte C. java.lang.Short D. java.lang.StringBuilder

Scroll to Top