- 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 Answers
+ 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.