Question: hi i need help intro to java netbeans application Lab Exercise: Comparing Two Strings Write Java program that asks the user to enter two words

hi i need help intro to java netbeans application
hi i need help intro to java netbeans application Lab Exercise: Comparing
Two Strings Write Java program that asks the user to enter two

Lab Exercise: Comparing Two Strings Write Java program that asks the user to enter two words (one at a time) Store these in variables. Use the equals() method to outout true or false if the words entered are the same. Gauthor K-sawyer import java.util.Scanner; public class introjava 12 13 14 15 16 17 param args the command line arguments 18 public static void main(String[] args) using the equals method to outout true or false if the words entered TODO Code application Logic here Scanner kb = new Scanner(System.in); String si; String 52; System.out.println("please enter you rst value ); s1 = kb.nextLine(); System.out.println("please enter your second value: "); 52 kb.nextLine(); System.out.printlntsi.equals(s2); ain introjava m OttRun Imaven D Scanning for projects... Building mavenprojecti 1.0-SNAPSHOT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!