If both wires are the same color, there will be a difference. For example, if you have both black wires, one black wire will have white stripes. Otherwise, use a multimeter to determine the polarity.