How to get shipping addresses details in magento2

How to get shipping addresses details in magento2:

 $objectManager = \Magento\Framework\App\ObjectManager::getInstance();

 $cartObj = $objectManager->get('\Magento\Checkout\Model\Cart');

 $shippingAddressInfo = $cartObj->getQuote()->getShippingAddress();

 $shippingAddressData = $shippingAddressInfo->getData());

CORNER OF BLOG:

“All of us do not have equal talent.

But , all of us have an equal opportunity to develop our talents.”

– Dr A.P.J Abdul Kalam