How would you cast the int variable a that is equal to 2 into the string 2?
Answers
Answered by
1
IN JAVA:
int a=2;
String b=Integer.toString(a);
int a=2;
String b=Integer.toString(a);
Answered by
2
Answer:
in python;
int(a)
Explanation:
answer b
int(a)
Similar questions