- 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”
5 odpowiedzi
+ 10
what? 😁
+ 5
Oh... So... I'm confused😕
+ 4
"Hey txt, say 'b', please".
+ 3
System.out.println("b");
+ 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.