Computer Science, asked by farhaalrafa, 10 months ago

How many ways you can set values for a string?​

Answers

Answered by lakshyajindal0310
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