I am very disappointed in Samsung to remove the option of hiding the front camera! if they don't address this issue and fix it i may not be a samsung's loyal customer anymore! the black hole on the front screen is really annoying!
@Sarahkhan: there is no such option in developer settings. However, you can try natcho notch from playstore. Looks like this is only workaround available till Samsung fixes it in next update. Hope this helps.
Once you have installed the software, open the application in move to bottom of page to give the permission/agreement. Once the it is done application closes itself. Reopen the application and enable the hide notch, then it will take you to appear on top settings. In that look for nacho notch and enable it. That's all