Computers and Technology, 21.06.2021 20:20 2023jpeterson
JavaAssignmentFirst, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects).Then create a new Java application called "BackwardsStrings" (without the quotation marks) that:Prompts the user at the command line for one 3-character string. Then (after the user inputs that first 3-character string) prompts the user for another 3-character string. Then prints out the two input strings with a space between them. Finally prints on a separate line the two input strings 'in reverse' (see example below) with a space between them. So, for example, if the first string is 'usr' and the second string is 'bin', your program would output something like the following:The two strings you entered are: usr bin. The two strings in reverse are: nib rsu. Note that the reversed SECOND string comes FIRST when printing the strings in reverse. my result/*Name: Saima SultanaLab:PA - BackwardsStrings (Group 2)*/package backwardsstrings;import java. util. Scanner;public class BackwardsStrings { public static void main(String[] args) { //variables String first, second; // TODO code application logic here StringBuilder firstReversed= new StringBuilder(); StringBuilder secondReversed= new StringBuilder(); Scanner input = new Scanner(System. in); // read strings first=input. nextLine(); second=input. nextLine(); // print out the input strings System. out. println("The two string you entered are:"+ first+" "+second+"."); // reverse the strings for ( int i=first. length()-1;i>=0; i--) firstReversed. append(first. charAt(i)); for ( int i=second. length()-1;i>=0; i--) secondReversed. append(second. charAt(i));// print out the reverse string System. out. println("The two strings in reverse are:"+secondReversed+" "+ firstReversed+ ".");}}
Answers: 2
Computers and Technology, 22.06.2019 19:20
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
Computers and Technology, 22.06.2019 20:00
Need asap assignment directions: think of an organization (business, religious institution, volunteer organization, sports team) with which you have been involved. imagine outfitting it with an it infrastructure. prepare a plan for what you would do to support outfitting it. draw a map of a network connecting all the individuals, give them pcs and printers, and lay out the design as best you can. the purpose is to begin working with these concepts, not to build a perfect network.
Answers: 2
Computers and Technology, 22.06.2019 23:30
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
JavaAssignmentFirst, launch NetBeans and close any previous projects that may be open (at the top me...
Mathematics, 23.06.2019 03:30
Mathematics, 23.06.2019 03:30
Geography, 23.06.2019 03:30
Mathematics, 23.06.2019 03:30
History, 23.06.2019 03:30
Biology, 23.06.2019 03:30
Mathematics, 23.06.2019 03:30
Mathematics, 23.06.2019 03:30