It's a cartoon. Anything is possible as it's not a real world. Sorry Jessica but Sponge Bob is not real, he is not alive.
This is just one of many questions you could ask about that show....em, it's a cartoon- they can make anything happen in a cartoon!
This is a Simple Dialog Demo.