how many ways you can set values for a string?
Answers
Answered by
0
Answer:
There are three ways to create strings in Java.
...
However java. lang. String indeed provides 13 different types of constructors using which String Objects can be initialized.
You can use the StringBuilder Class.
Or you can use String class.
You can use String.format method.
Or you can use . toString method to create strings.
farhaalrafa:
its for c programme
Similar questions