Answer:
A.)
arr[0] = 10;
arr[1] = 10;
Explanation:
Given the array:
arr = {1,2,3,4,5}
To set the first two elements of array arr to 10.
Kindly note that ; index numbering if array elements starts from 0
First element of the array has an index of 0
2nd element of the array has an index of 1 and so on.
Array elements can be called one at a time using the array name followed by the index number of the array enclosed in square brackets.
arr[0] = 10 (this assigns a value of 10 to the index value, which replace 1
arr[1] = 10 (assigns a value of 10 to the 2nd value in arr, which replaces 2
Answer:
Explanation:
in order to allow a customer to select one or more option, the option to use is JCheckBox. Checkbox allows a user to chose more than one option from a list of option displayed. They are mostly presented in the form of a box which can be checked or unchecked. it allows a user to select more than a single option compare to radio button which allows a user to select just a single option from a list. So since the hair styling shop wants the user to select more than one option, The JCheckbox will be the right option. Further more, jLabel is just used to describe the purpose of the JCheckbox, like the name given to the checkbox.
Ask your self questions can help you think of what to measure, in order to get answers.
<u>Answer:</u>
When leased computing resources can be increased or decreased dynamically, they are said to be Elastic resources.
<u>Explanation</u>:
Elastic resources are the resources that are leased and they can be increased or decreased based on the number of users that are using the resource simultaneously. Popular example for elastic resource is Elastic Search EC2, where 2 to 4 servers are allocated to handle the service requests dynamically depending upon the usage.
Cloud computing businesses like Google and AWS Cloud depends on elastic resources.