difference between 'B' and "B" in java
Answers
Answered by
3
‘B’ is a character input/literal whereas “B” is a string input/literal.
Answered by
3
Answer:
In Java 'B' refers to charachter type data and "B" represents String type data.
Explanation:
However in java mostly string type data is being used.
Similar questions