1. Home
  2. MCQs by exam
  3. OCA Java

OCA Java 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