Answer:
Result is: 65
Explanation:
To analyze this code let us asign line numbers:
- public class Test {
- public static void main( String[] args )
- { int[] a; a = new int[ 10 ];
- for ( int i = 0; i < a.length; i++ )
- a[ i ] = i + 2;
- int result = 0;
- for ( int i = 0; i < a.length; i++ )
- result += a[ i ];
- System.out.printf( "Result is: %d\n", result );
- }
- }
On line 3, an array of ints is created of size 10
On line 4 and 5 a for loop is used to add values to the array. at the end of the execution of line 4 and 5, the array will contain the following elements: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
On line 6 an int variable result is created and initialized to 0
line 7 and 8 allows a for loop through the array adding up all the elements of the array and assigning them to result
Line 9 outputs the value of result (Which is the total sum)
180 meters in 60 seconds is an average speed of 180m/60s = 3 m/s.
Answer:
At an arraignment, the court officially illuminates a litigant regarding charges contained in a prosecution or data, gives the respondent a duplicate of the charging instrument, and takes the litigant's response to those charges as a request.
Explanation:
<span>Which is not a component of a database that describes how data is stored?</span>
To block link that keeps popping up everywhere, one can:
- Use your browser and click on block Pop-ups in settings
- Install an antivirus.
<h3>How do I stop pop-up links?</h3>
One can do so if they Manage the pop-up by blocking it in the Chrome browser where they:
- Click on Settings from the Chrome menu.
- input 'pop' in the search bar.
- Select Site Settings and then select Pop-ups and redirects.
- Here one can toggle the Pop-ups and redirections option to Blocked them.
Therefore, To block link that keeps popping up everywhere, one can:
- Use your browser and click on block Pop-ups in settings
- Install an antivirus.
Learn more about pop up link from
brainly.com/question/13666301
#SPJ1