You are provided with two similar bars, one is a magnet and the other is a soft iron bar. How will you distinguish between them without the use of any other magnet or bar ?
As there is already a magnet in one of those bars,it would pull the iron bar towards itself. so whichever bar is pulling a bar towards itself more,that is the magnet and the other is the soft iron.