Answers for "Character Constant vs String Constant in java"

0

Character Constant vs String Constant in java

Character constant is enclosed in single quotes. 
String constants are enclosed in double quotes. 
Character constants are single digit or character. 
String Constants are collection of characters.
Ex :’2’, ‘A’
Ex : “Hello World”
Posted by: Guest on November-30-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language