Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
Which type of value is returned by replace() function
2 Antworten
+ 2
answer is String
you can verify it using instanceof operator
e.g)String s = "hello world!!';
System.out.println(s.replace('l','#') instanceof String);//true
0
thank you