1.

I'm not getting when and where we should use string, double ,byte, short,int,float in computer programmingexplain it in simple form because tomorrow I hv my exams9th icse​

Answer»

ANSWER:

string is for words

syntax String variable = "statement";

eg

String s = "wow";

for int , short, long we MUST initialize only a whole number

byte it is less than 8bits

DOUBLE and FLOAT it is decimal no

boolean is for true and false

Explanation:



Discussion

No Comment Found