Your "hiking instructor" obviously doesn't know what the hell he's talking about.
Black Mamba's are one of the most venomous snakes in the world and you will die in a very short period of time (as little as 30 minutes) if you don't get medical attention immediately.
And unless you're "hiking" in Africa, you won't be likely to run into a Black Mamba.