I don't see any error on your code, everything is well written and simple. Except trying putting PUBLIC on your Class displayer. If you encounter the same problem again try to rebuild your whole code and try to recompile the whole code. Even try restarting your personal computer.
Answer:
The sum of all positive even values in arr
Explanation:
We have an array named arr holding int values
Inside the method mystery:
Two variables s1 and s2 are initialized as 0
A for loop is created iterating through the arr array. Inside the loop:
num is set to the ith position of the arr (num will hold the each value in arr)
Then, we have an if statement that checks if num is greater than 0 (if it is positive number) and if num mod 2 is equal to 0 (if it is an even number). If these conditions are satisfied, num will be added to the s1 (cumulative sum). If num is less than 0 (if it is a negative number), num will be added to the s2 (cumulative sum).
When the loop is done, the value of s1 and s2 is printed.
As you can see, s1 holds the sum of positive even values in the arr
10008 is the answer to your question
The radio buttons are used when only one option is to be selected from the several possible choices. Thus, option A is correct.
<h3>What are radio buttons?</h3>
Radio buttons can be understood as the elements of selection a single option amongst the multiple suitable options. The default icon for the radio buttons is the blank circle.
Therefore, option A Radio buttons is correct.
Learn more about radio buttons, here:
brainly.com/question/14316393
#SPJ1
Answer:
Multitasking is a process in which we do multiple task at a time.
In computing system, multitasking is the concept of performing different types of multiple task and process over a certain period of time by executing simultaneously.
Operating system basically allow various task to run simultaneously by the user. In an operating system, each task consume storage system and all the other resources.
Multitasking function facilitate memory isolation in the processor and also supported different levels of security system in the operating system. For example, "a programmer working on any program in a system and as well as listening the music then, it perform multiple task at the same time".