Answer
In both diseases, a patient might feel a sense of fullness in his scrotum. He might also feel pain in that area. There might also be abnormal swelling in the scrotum. In case of testicular cancer, this swelling shouldn’t be big, it is described as lump like. In inguinal hernia, however, the swelling should be bigger and it should also be soft to touch, rather that hard in testicular cancer.
Explanation
I looked this up:)