Many text parsers trim down whitespace unless it's explicitly a code block. You see this often when people attempt to use interleaved spaces for emphasis. For example:
R E D H A T
becomes "R E D H A T" in your Markdown interpreter.
I think WhatsApp supports code snippets with backticks.
I really really really hate people who write code in chats as if they are demonstrating some incredibly amazing skill. Doubly so because they so often fuck it up.
I feel like when you title your post "Hilarious", you're being sarcastic. Are you, perhaps, aware that this is actually pretty unfunny? Yet you posted it here nonetheless.
Its Java and this is a personal project. Might as well say, "loving you is like developing an api for an insurance company. I can't bear to touch you without two drinks and a subscription to jetbrains" This is how relationships end up on the garbage heap.