is mechanical energy conserved for a rubber ball?
Two rubber balls are a good example. In an elastic collision, both momentum and kinetic energy are conserved. Almost no energy is lost to sound, heat, or deformation. The first rubber ball deforms, but then quickly bounces back to its former shape, and transfers almost all the kinetic energy to the second ball.