give reason whether the following assignments are correct or not :
(a)int m=155; (b)float f=0.002654132;
(c)String str='computer'; (d)boolean p=false;
(e)String b="true"; (f)char ch="apps";
(g)String st="Application"; (h)double n=455.29044125;
please answer it quickly as fast as possible!!!
Answers
Answered by
6
Answer:
(a)Correct
(b)Correct
(c)Incorrect as strings should be represented within double quotes. Its not mentioned which programming language is used as the basis. Also, there is no data type called string.
Answered by
13
t
t
f
t
t
f
t
t
here you go...but pls answer only if you know it asshole...I hope you remember my question
No need for saying thanks...I dont like publicity
Similar questions
Computer Science,
5 months ago
Science,
5 months ago
Science,
9 months ago
English,
11 months ago
Social Sciences,
11 months ago