- 2

How would you set a text to say something?

Say you would have a text that says “a” how would you make it say “b”

7th Feb 2018, 12:26 AM
Campbell
Campbell - avatar
5 ответов
+ 10
what? 😁
7th Feb 2018, 1:06 AM
Vukan
Vukan - avatar
+ 5
Oh... So... I'm confused😕
7th Feb 2018, 1:32 AM
renamed
renamed - avatar
+ 4
"Hey txt, say 'b', please".
7th Feb 2018, 12:54 AM
Lucas Sousa
Lucas Sousa - avatar
+ 3
System.out.println("b");
7th Feb 2018, 1:29 AM
Tim Millar
Tim Millar - avatar
+ 3
Um, if you mean data types, then after declaring a variable with the value of "a", you can later set it to a different value by using the assignment (=) operator. For example: var a = "a"; a = "b"; //The value of a is now "b" In the future, try being a little more descriptive with your questions.
7th Feb 2018, 1:42 AM
Faisal
Faisal - avatar