Computer Science, asked by sangeetaarun2020, 17 hours ago

Identify the following as valid or invalid variables giving reasons if not valid.(Java language)
a) cost_price
b) average@Nos
c) total amount
d) name$
e) Count_Nos
f) class
g) _roll no-
h) simple-interest
i) $section
j) MAX_TEMP​

Answers

Answered by purveshKolhe
2

(a), (e),(f),(j)

Bcuz variables cannot contain special symbol except undermark. Also there should not be space.

Similar questions