What is the output of the following code?
```
String s = "University";
s.replace("i", "ABC");
System.out.println(s);
```
a. UnABCversity
b. UnABCversABCty
c. UniversABCty
d. University
d. University
No method in the String class can change the content of the string. String is an immutable class.
You might also like to view...
The difference between functions partition and stable_partition is that:
a. partition may throw an exception while stable_partition will not. b. partition can only be called on a sequence that is already sorted. c. stable_partition maintains the original order for the elements in each of the two resulting partitions with respect to the other elements in that same partition. d. stable_partition allows an element to be duplicated and placed into both partitions.
Describe the use of Virtual LANs with VMM.
What will be an ideal response?