1. Home
  2. MCQs by exam
  3. OCA Java
  4. Computer Science MCQs

OCA Java MCQs – Computer Science MCQs

10 multiple choice questions typical of the OCA Java exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 1–10 of 10

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