![Savageboyn](/avatars/14891.jpg)
Savageboyn
16.09.2019 •
English
To make an inference, the reader should combine textual evidence with?
background knowledge.
characters’ names.
plot elements.
strong opinions.
Solved
Show answers
More tips
- S Science and Technology Understanding Magnetic Storms: A Guide to This Natural Phenomenon...
- D Dating, Love, Relationships How Long Can Love Last?...
- A Auto and Moto Mastering One-Movement Parking: All You Need to Know...
- C Computers and Internet How to Properly Order Clothing from International Online Stores...
- H Health and Medicine Headache: A Comprehensive Guide to Treatment...
- F Family and Home How to Choose the Best Diapers for Your Baby?...
- A Auto and Moto Discovering the Leader: What is the Most Expensive Car in the World?...
- F Food and Cooking How to Quickly Put your Child to Sleep?...
- C Computers and Internet How to Create a Website for Free and Easy?...
- F Family and Home Parquet or laminate, which is better?...
Answers on questions: English
- E English Shall I use without doubt or without a doubt to start my sentence in an essay?...
- M Mathematics Your family got an awesome Black Friday deal on 85 inch big screen TV for $800. This was 60% off the original price? How much was the original price?...
- E English Based on the events of this chapter, discuss how both Siddhartha and Kamala have each changed as individuals as they have grown older. Be specific and use information from...
- B Biology For a wind farm to be effective, there needs to be a. many turbines b. wind in only one direction c. low average wind speeds d. one turbine...
Ответ:
Ответ:
BACKGROUND KNOWLEDGE
Explanation:
Ответ:
Here is the program fulfilling all the requirements given:
import javax.swing.JOptionPane;
public class SuperPower{
public static void main(String[] args) {
String power;
power = JOptionPane.showInputDialog("What is your super power?");
power = power.toUpperCase();
JOptionPane.showMessageDialog(null, power);} }
Explanation:
Does the file include a public class called "SuperPower"
See the statement:
public class SuperPower
Does the class include a public method called "main"? Is the "main" method static?
See the statement:
public static void main(String[] args)
Does the main method have a String assignment statement that uses "JOptionPane.showInputDialog"
See the statement:
power = JOptionPane.showInputDialog("What is your super power?");
Does the main method have a statement that uses "JOptionPane.showMessageDialog"?
See the statement:
JOptionPane.showMessageDialog(null, power);
Does the program convert the String from "JOptionPane.showInputDialog" using the "toUpperCase" method?
See the statement:
power = power.toUpperCase();
Does the submission include a screenshot that shows an Input dialog that asks, "What is your superpower?" Does the submission include a screenshot that shows a Message dialog stating " TO THE RESCUE!", where "" is the input converted to upper case?
See the attached screenshots
If the program does not let you enter an exclamation mark after "to the rescue" then you can alter the code as follows:
import javax.swing.JOptionPane;
public class SuperPower{
public static void main(String[] args) {
String power;
power = JOptionPane.showInputDialog("What is your super power?");
power = power.toUpperCase();
JOptionPane.showMessageDialog( null, power+"!");} } // here just add an exclamation mark which will add ! after the string stored in power