Answer:
Definitely D
Explanation:
When you flip a coin it’s a 50/50 chance. Meaning it’s equal.
Answer:
Option A, initiative
Explanation:
Initiation is an art of performing an act or task by self motivation rather on command or instruction from anyone.
Insubordination is incorrect as here there is no mentioning of disobeying seniors or authority
Also, courage and power means having strength to perform any task. Here action is performed without any instruction and it in no sense signifies a brave deed.
Hence, option A is correct
Answer:
public class num9 {
public static void main(String[] args) {
int sum =0;
int num =5;
for(num =5; num<=500; num+=5){
System.out.println(num);
sum +=num;
}
System.out.println(sum);
}
}
Explanation:
- Declare and initialize the variables sum and num
- Use a for loop with the condition for(num =5; num<=500; num+=5) Since the loop will increment by 5 and run from 5 to 500
- Within the loop, add num to sum at each iteration
- Print all elements on seperate lines
- Outside the loop, print the final value of sum
Create a for loop
Answer:
numAccounts = SavingsAccount.numberOfAccounts
Explanation:
In object oriented programming, when you have created an object of class, you can create several instances (objects) from that class by referencing the className.classFeild. In this instance SavingsAccount is the class name and
numberOfAccounts is a feild (or data member). to create a new numAccount, we use the syntax as above in the answer
A router!
12345678901234567890