Nylon is formed by amide groups with more intermolecular interaction making the attractive force also high. Tat actor makes both the melting point and mechanical properties more robust.