Computer Science, asked by landy, 1 year ago

Determine if the following statements have errors. If so, highlight them and explain why.
(a) int2nd_value=10;
(b) int double = 20.008
(c) String d = 3.1; [1]

Answers

Answered by husain722
0
1) there shud be some space between datatype & variable name.
2) double can't be used as an identifier as it is a keyword.
3)while declaring a floating pt. value we must have datatype float
Similar questions