in ,

🧑🏻‍💻 TechAcademy | Active engineers explain how to judge whitespace in Java [For beginners]

An active engineer explains how to judge whitespace in Java [for beginners]

Explains how to judge whitespace in Java.I'm actually writing and explaining the program, so be sure to understand it.


If you're not familiar with Java in the first place, read the article that explains what Java is for a deeper understanding.

This article is based on the contents of the Java class of the online boot camp of Tech Academy.




What is a space character?

In programming, a space character is a string of zero length. "" ← The content of this parenthesis is a space character.

"" And "" Are half-width spaces and full-width spaces, which are different from white space characters. In Java, strings are enclosed in double quotes, so whitespace characters can be represented as "".

String str = ...

→See more in Tech Tech Magazine