Computer Science, asked by abhisingh15, 1 year ago

difference between 'B' and "B" in java​

Answers

Answered by yamini25official
3
‘B’ is a character input/literal whereas “B” is a string input/literal.
Answered by mwish558
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