Answer:
JOptionPane.showConfirmDialog() function with the option_type parameter set to JOptionPane.YES_NO_OPTION
Explanation:
JOptionPane is a java swing class which enables users to display different kinds of standard dialog boxes such as - InputDialog, MessageDialog, ConfirmDialog or OptionDialog.
In order to display a Yes/No confirmation we can use JOptionPane.showConfirmDialog() function. This function takes a parameter called option_type. In order to display Yes/No options for the confirmation dialog, the option_type parameter needs to be set to the value JOptionPane.YES_NO_OPTION.
Answer:
Option A is the correct answer.
Explanation:
There´s PowToon, GoAnimate, ToonBoom. There are more, but these are the ones that I know about. I hope that I helped. Have a good day!
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
<span>C) magnetic resonance imaging (MRI)
hope it helped
</span>