This is, strictly speaking, not entirely correct.
Melee thrown weapons without the finesse property (Handaxe, Javelin, Light Hammer, Spear, Trident) use Strength.
Melee thrown weapons with the finesse property (Dagger) use the player's choice of Strength or Dexterity, as specified in both the...