KnowledgeBoat Logo

Computer Applications

How would you print characters like \, ' and " in Java?

Values & Data Types Java

39 Likes

Answer

We can print characters like \, ' and " using escape sequences i.e. preceding it with a backslash (\) symbol.

Answered By

21 Likes


Related Questions