What does ‘knockout’ mean?

( n ) A very beautiful female. Who was that knockout I saw you with last Friday?
( n ) Something excellent, outstanding. It was a knockout of a car; I couldn’t pass it up.