In Java (not JavaScript) can you declare a variable of data type String and have it contain only 1 letter (like in char) or can only char variable have 1 letter
Answers
Answered by
3
Yes bro yes, we can do it.
Similar questions
Business Studies,
7 months ago
Business Studies,
7 months ago
Social Sciences,
7 months ago
Sociology,
1 year ago
Science,
1 year ago