Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which of the following is a not correct assignment statement? double p9…

Question

which of the following is a not correct assignment statement? double p9 = 81.9; boolean false = true; int data = 825;

Explanation:

Brief Explanations

In programming, false is a reserved keyword for the boolean data - type in languages like Java. It cannot be used as a variable name. The other two statements (double p9 = 81.9; and int data = 825;) are valid variable declarations and assignments in Java.

Answer:

boolean false = true;