How to get default billing and shipping address by customer in Magento 2

The following article sheds light on how to get default billing and shipping address by a customer in Magento 2. This action is required if it is necessary to create a new customer or update an existing one programmatically. To find more tips about Magento 2, follow this link: Magento 2 Developer’s Cookbook. Continue Reading