How would you cast the string variable a that is equal to 2 into the integer 2?
Answers
Answered by
2
Answer:
IN JAVA:
int a=2;
String b=Integer.toString(a);
Explanation:
hope it helps u
pls mark as brainliest
Similar questions