Java: Test if 2 numbers have the same digit between 2 values

Java: Test if 2 numbers have the same digit between 2 values

More to explore

Based on this image's title: “Java: Test if 2 numbers have the same digit between 2 values