Which case label declaration can be inserted at (1) so that the following program will compile, run,

Question:

Which case label declaration can be inserted at (1) so that the following program will compile, run, and print Hi, TomTom!? 

image text in transcribed

Select the four correct answers.

(a) case "TomTom":

(b) case TOM1 + TOM1:

(c) case TOM1 + TOM2:

(d) case TOM1 + TOM3:

(e) case TOM2 + TOM3:

(f) case "Tom" + TOM1:

(g) case "Tom" + TOM2:

(h) case "Tom" + TOM3:

(i) case 'T' + 'o' + 'm' + TOM1:

(j) case "T" + 'o' + 'm' + TOM1:

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: