Answer:
The program written in Java is given in the explanation section
Explanation:
public class num9 {
//Defining the method CountCharacters()
public static int CountCharacters(char userChar, String userString){
int c = userString.length();
int count=0;
for(int i=0; i<c; i++){
if(userString.charAt(i)==userChar){
count++;
}
}
return count;
}
//Main method begins here
public static void main(String[] args) {
char n ='n';
String word = "Monday";
//Calling the method CountCharacters()
System.out.println(CountCharacters(n,word));
}
}
News Report.
I hope this helps! :)
Being direct I think because Enrique’s boss is being direct about his work and making sure he does his job. The other options don’t sound right
Answer: NVRAM(Non-volatile random-access memory)
Explanation:Non-volatile random-access memory(NVRAM) is the memory that has a non-volatile nature.It is used for retaining of the data even when the system gets switched off .
This memory uses the power source from the CMOS battery for executing the functions. It is designed by using the pin configurations containing 24 pin in DIP(Dual inline package). So the situation mentioned in the question of storing the changes will appear in the NVRAM.
The two devices in a computer that should be considered "black boxes," and should never be opened due to risks involving charged capacitors are MONITOR and POWER SUPPLY.
Explanation:
- Physical contact or close proximity to the open power supply caused a discharge from the capacitor that resulted in an electric shock. Capacitors can discharge current even when not energized because they hold a charge for some time after the power is turned off.
- To do harm to your body, the voltage across the capacitor's terminals must be high enough to cause a harmful effect on you. There are no hard rules for at what voltage things become harmful, but a common 'rule of thumb' is that DC up to 48 Volt is considered low voltage. So a capacitor charged to a voltage below 48 V is fairly safe.
- A charged capacitor can be very dangerous, so it's important that you avoid coming into contact with the terminals at all times.