I'm having trouble getting the individual digits of a number. you have simple integer variable containing 1234, How do you get the individual digits of the number for example: int s = 1234;
I need to store every digit in a separate variable like
String str1 = "1";
String str2 = "2";
String str3 = "3";
String str4 = "4";
Is it possible? how can I implement this? In above method I gave one static integer value. could you please tell me both static and dynamic please guide me