1.

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

Answer»

ong>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