1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Leya [2.2K]
3 years ago
12

Assume that the following variables have been properly declared and initialized.

Computers and Technology
1 answer:
grandymaker [24]3 years ago
4 0

Answer:

       if (option1.equals(option2)){

           rsvp = true;

       }

       System.out.println(rsvp);

A full program is given in the explanation section

Explanation:

import java.util.Scanner;

public class Option {

   public static void main(String[] args) {

       boolean rsvp = false;

       int selection;

       String option1,option2;

       Scanner in = new Scanner(System.in);

       option1 = in.next();

       option2 = in.next();

       if (option1.equals(option2)){

           rsvp = true;

       }

       System.out.println(rsvp);

   }

}

You might be interested in
Thinking about the operations needed in these games, which game is likely to be one of the oldest games in the world?
erma4kov [3.2K]
I would say tag because it only involves touching
6 0
3 years ago
Read 2 more answers
When preparing a photo for a magazine, a graphic designer would most likely need to use a program such as Microsoft Excel to kee
UNO [17]

Answer:

Adobe Photoshop To Manipulate The Photo.

Explanation:

BLACKPINKS new album is amazing OMG I LOVE Lovesick Girls!!!

3 0
3 years ago
Can you know in advance the path a message will take between you and another computer on the internet
djverab [1.8K]

Answer:

No, you really cannot tell.

Explanation:

Packets on a network are always taking different routes or paths. Based on the traffic, the router will choose the best path to send packets to. For instance, if the network experiences redundancies or network congestion between the host and destination devices, additional paths will always be available. Unless we have manually configured proxies, we will never tell in advance the path a message will take. Internet routes are dynamic in nature especially since they are based upon traffic loads among other factors

8 0
3 years ago
What impact has the wireless web had on business and society?
HACTEHA [7]
The web has changed this society in many different ways:
1. education 
2. enviormental protection 
3. news reporting 
4. social changfes
5 0
3 years ago
Read 2 more answers
What is a web diagram?
Phoenix [80]
It's a file that helps you create, see, and change the flow of a dynamic web application. Because a web diagram is primarily a visual aid, limit the diagram labels to three or two words and use shapes and colors to identify components of the diagram.
7 0
3 years ago
Other questions:
  • Difference between rainbow six siege starter edition and regular
    8·1 answer
  • JAVA Code:
    14·1 answer
  • What do customers use to access the internet, usually for a monthly fee?
    6·1 answer
  • Please can somebody help me! i’m really stuck on this question
    9·1 answer
  • What is another word for: a location in memory that contains a value?
    7·2 answers
  • (2) Design a program to determine if a student is entitled to an incentive granted upon payment of
    13·1 answer
  • Gourmet pizza shop with a
    6·1 answer
  • Consider the following recursive method. public static string recur(int val) { string dig = "" + (val % 3); if (val / 3 > 0)
    10·1 answer
  • What is alternative name of home page<br><br>​
    7·1 answer
  • Write a program that calculates pay for either an hourly paid worker or a salaried worker Hourly paid workers are paid their hou
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!