You can add new contacts to WhatsApp manually from the Chats tab or you can scan someone's QR code within the app.
You can manually add new contacts to Yahoo Mail by using the "Add a new contact" feature in the Contacts tab or hovering over the recipient's name.