please type the code  java programming  please use the first question Boolean variable for true or false  This problem set will test your knowledge of System I/O, and variable assignment. Your task is to create several different java classes (.java files) that will produce a specific output based on the user input. All input will be given to you either as a command-line argument or typed in from the keyboard.  Below you will find directions for each class you need to create. Please make sure that the class name and java file name match the name specified in the directions below. For example, the code for the problem named "IsSame" should be put in a java file name IsSame.java and that file should have a class named public class IsSame. IsSame This program will accept two user inputted values from the console. The values will be words. The program should print "true" if the words are equal and "false" if the words are not equal. The last string that this program should print is "true" or "false", nothing else. Sum This program will accept two user inputted values from the console, the user will only type in whole numbers. The program should add the two numbers together then print the sum. The last string that this program should print is the result of the calculation, nothing else. Replace This program will accept three user inputted values. The first two user-inputted values are single-character strings. The last user input is a sentence of random words. This program should replace all occurrences of the first inputted character with the second inputted character in the sentence. Finally, it should print the sentence after the characters have been replaced. The last string that this program should print is the sentence with the replaced characters, nothing else. LessThanOrEqual This program will accept two user inputted values that are whole numbers. The program should print "true" if the first number is less than or equal to the second number otherwise it should print "false". The last string that this program should print is "true" or "false", nothing els

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

please type the code 

java programming 

please use the first question Boolean variable for true or false 

This problem set will test your knowledge of System I/O, and variable assignment. Your task is to create several different java classes (.java files) that will produce a specific output based on the user input. All input will be given to you either as a command-line argument or typed in from the keyboard. 

Below you will find directions for each class you need to create. Please make sure that the class name and java file name match the name specified in the directions below. For example, the code for the problem named "IsSame" should be put in a java file name IsSame.java and that file should have a class named public class IsSame.

IsSame

This program will accept two user inputted values from the console. The values will be words. The program should print "true" if the words are equal and "false" if the words are not equal. The last string that this program should print is "true" or "false", nothing else.

Sum

This program will accept two user inputted values from the console, the user will only type in whole numbers. The program should add the two numbers together then print the sum. The last string that this program should print is the result of the calculation, nothing else.

Replace

This program will accept three user inputted values. The first two user-inputted values are single-character strings. The last user input is a sentence of random words. This program should replace all occurrences of the first inputted character with the second inputted character in the sentence. Finally, it should print the sentence after the characters have been replaced. The last string that this program should print is the sentence with the replaced characters, nothing else.

LessThanOrEqual

This program will accept two user inputted values that are whole numbers. The program should print "true" if the first number is less than or equal to the second number otherwise it should print "false". The last string that this program should print is "true" or "false", nothing else

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY