Computer Science, asked by jadhavparth104, 1 month ago

State following statement as valid or invalid . If invalid give reason. (PLEASE FAST)

a) String s1=”4567”;

b) Char ch = ‘s’;

c) int x1=23

d) double num=67;

e) String s=”a”;

f) int a;b;c ;

g) Boolean b=true ;

Answers

Answered by OpAgnik
1

Answer:

a- valid

b- valid

c- valid

d- valid

e- valid

f- invalid

g- valid

Explanation:

PLEASE MARK ME THE BRAINLIEST

Similar questions