private static String removeFromString(String old, String frag)
{
int i = old.indexOf(frag);
while (i> -1) {
String rest = old.substring(i + frag.length());
System.out.println("rest = " + rest);
old = old.substring(0, i);
System.out.println("rest = " + old);
old = old + rest;
System.out.println("rest = " + old);
i = old.indexOf(frag);
System.out.println("i = "+ i);
}
return old;
}
Here the index of first occurrence is obtained outside the “while loop” and if this loop runs until index value is >-1. It extracts the rest of the characters other than “frag” from the index and all the characters for which the given set of characters are removed.
Answer:
Center Processing Unit ....
Answer:
c. Cloud computing
Explanation:
Cloud computing -
It refers to the on - time need of the computer resource , in order to store data , computing power by the user , is referred to as cloud computing.
It refers to the availability of the data centers to the user .
This method enables the sharing of resources .
Hence, from the information of the question,
The correct option is c. Cloud computing .
I would say strong use of multimedia.
A fax cover sheet is the first sheet that gives all the information that is needed.