b. Windows 95
c. Windows 98
d. Windows NT
b.delete a program from the hard drive
c.open program
d.check recent cpu usage
makeOutWord("<<>>", "WooHoo") → "<>"
makeOutWord("[[]]", "word") → "[[word]]"
Answer:
The following are the answer to this question.
Explanation:
In the given code, a "makeOutWord and word" is already used to hold some value. In this code, we define a string method "makeOutWord" that accepts two string variables "out and the word" in its parameter.
Inside the method, a return keyword is used that uses the string variable "out and the word" with the "substring" method, this method is used to returns a new string from an old string value, and it also uses the "word" string variable for the return value.
please find the attached file for code:
The function makeOutWord combines the 'out' string and the given word by using the substring method to separate the 'out' string into two parts, then inserting the given word in between. An example solution in Java is provided.
The goal of this problem is to create a new string, incorporating the original 'out' string and the given word. This can be achieved by utilizing the substring method in Java which allows us to extract part of a string. Given an 'out' string with length 4, such as '<<>>', and a word, the task is to return a new string where the word is in the middle of the 'out' string.
An example solution in Java would be as follows:
public String makeOutWord(String out, String word) { return out.substring(0, 2) + word + out.substring(2, 4);}With this function, we take the first two characters from the 'out' string, then append the word, then add the last two characters of the 'out' string. So, makeOutWord("<<>>", "Yay") would yield "<>".
#SPJ3
Answer:
trackpad
Explanation: