<span>Principles of defensive driving is </span>allowing yourself enough space to react to the actions of other drivers
Answer:
what langunge is that vietname?
Answer:
A function with out parameters cannot take any arguments or perform operations on variables passed in. A function with parameters can.
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);
}
}