I have a String and an int, lets say: String str = \"12345\"; and int num = 12345;. What is the fastest way of seeing if they are the same, s
String str = \"12345\";
int num = 12345;
s
Guess you might also be able to use this to compare........
int p = 1234; String Int = "1234"; String string = String.valueOf(p); System.out.println(string + Int); System.out.println(string.equals(Int)); code here