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
Explain the following statement — "In Java, total, Total, ToTaL, and TOTAL are all different identifiers."
Distinguish between Token and Identifier.
Distinguish between Keyword and Identifier.
Which of the following are invalid identifiers?
i. ten
ii. "Hello"
iii. 5678
iv. Coffee
v. $dollar
vi. 4Variables
vii. _var