How many ways you can set values for a string?
Answers
Answered by
0
Answer:
2 ways
Explanation:
using only assignment operator
example :
String abc = "Brainly"
using assignment operator and new keyword
Example:
String abc = new String("Brainly")
Similar questions
Math,
5 months ago
Chemistry,
5 months ago
English,
10 months ago
Physics,
10 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago