Answer:
- public class Main {
-
- public static void main (String [] args) {
-
- for(int i = 1; i < 10; i++){
- int num = 0;
- num += i;
- }
- System.out.println(num);
- }
- }
Explanation:
In programming each variable has its scope. For example, a variable defined within the for loop has no longer exist outside the loop body. To illustrate this we can write a short program as presented above.
Firstly, create a for loop that traverse the number 1 - 10 (Line 5 - 8). Within the loop create a variable num and initialize it with zero (Line 6) and increment it with i value for each iteration (Line 7).
Outside the loop, we try to print the num (Line 9). When we run the program this will result in an error as the num which is declared inside the for loop will no longer exist outside the loop body.
Answer:
Following are the solution to the given points:
Explanation:
The Memory address value = 64 bit
The Size of the word 
In point a:
The offset size
( in 1-word block size)
The Index size
(as block number =512)
Tag size
In point b:
The offset size
The Index size 
Tag size 
In point c:
The Ratio at point a

The Ratio at point b

True if it is biology or biotech 3/4 but if it anotomy it is false
Answer:The three most common operating systems for personal computers are Microsoft Windows, macOS, and Linux.
Explanation:
INCOMPLETE QUESTION
Consider array items, which contains the values 0, 2, 4, 6 and 8. If method changeArray is called with the method call changeArray(items, items[2]), what values are stored in items after the method has finished executing?
public static void changeArray(int[] passedArray, int value)
{
passedArray[value] = 12;
value = 5;
}
A. 0, 2, 5, 6, 12.
B. 0, 2, 12, 6, 8.
C. 0, 2, 4, 6, 5.
D. 0, 2, 4, 6, 12.
Answer:
D. 0, 2, 4, 6, 12
Explanation:
The initial values for the array was 0,2,4,6,8. The method changeArray ( ) when called changes the the the value of the element at the ith index position to 12. so the final elements in the array will be 0,2,4,6,12