Home
Subscribe TechModgy to learn about new technologies!

Given the code
String s = new String("abc");
Which of the following calls are valid?

A. s.toUpperCase()

B. s.append("xyz")

C. s.setCharAt(1<'A')

D. all of the above

Please do not use chat terms. Example: avoid using "grt" instead of "great".