Which of these assignments are valid? Select the four correct answers. (a) short s = 12; (b)

Question:

Which of these assignments are valid?

Select the four correct answers.

(a) short s = 12;

(b) long l = 012;

(c) int other = (int) true;

(d) float f = -123;

(e) double d = 0x12345678;

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

Step by Step Answer:

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