1. Home
  2. Subjects
  3. Computer Science MCQs
  4. JAVA

JAVA MCQs

14 multiple choice questions with answers in Computer Science MCQs.

This page collects JAVA multiple-choice questions on OOP concepts, classes and objects, inheritance, exceptions, collections and multithreading. Answers and explanations are shown with every question. Helpful for NTS, PPSC IT tests and campus interviews.

Showing 1–14 of 14

String s = "Hi"; s.concat("!"); What is the value of s after these statements?

  1. "Hi" Correct answer
  2. "!"
  3. "Hi!"
  4. null
MCQSEXAM Read explanation

Teacher or blogger? Put this quiz on your website

Free JAVA MCQs quiz with answers for your school site, academy page or blog. Copy one line of code – works on WordPress and Blogger.

Get the quiz widget