Define a class named yourlastname

Assignment Help Basic Computer Science
Reference no: EM132191710

1. Define a class named YourLastName, with the following methods:

- getString: to get a string from console input

- printString: to print the string in upper case

- encryptString: will return the string encrypted using Caesar's Cipher.

- decryptScript: will return the original string assuming it was encrypted using Caesar's Cipher.

Note: the number of letters on your last name will determine the shift amount on the Caesar's Cipher.

Also please include simple test function to test the class methods.

Reference no: EM132191710

Questions Cloud

How does a burn injury affect the capillaries : Describe the three major layers that make up normal, healthy skin. How does a burn injury affect the capillaries, in turn leading to shock
Describe the making of the modern state of china : Briefly describe the making of the modern state of China. Then summarize the structure of the government, including both the state and the legislature.
Describe an example of a trait related to sex in humans : What is the difference in inheritance between boy and girl for traits linked to sex? Describe an example of a trait related to sex in humans
Does the state constitution contain a bill of rights : Which branch of your state government seems the most powerful, on paper? What evidence do you use for your choice?
Define a class named yourlastname : 1. Define a class named YourLastName, with the following methods:
What has been identified as enhancing prospects : Select an economic development project in your community. The project must have been implemented and/or completed within the past 10 years.
Analyze the body reactions to the health condition : Post a 2- to 3-paragraph analysis that describes the impact of your Diabetes Mellitus on one of the systems
Search engines play in e-commerce : What role(s) do Search Engines play in E-commerce? How do they affect E-commerce?
What role do portals play in e commerce : What role(s) do Portals play in E commerce? Are they still as relevant as they were a few years ago? More relevant?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Do you have to worry about self-starting

Do you have to worry about self-starting? Why or why not?

  Demand or supply versus changes in quantity

Discuss demand, supply, their interaction, changes in demand or supply versus changes in quantity demanded/supplied, elasticity concepts

  Compare and contrast monitoring of patient vital signs by

mobile computing has dramatically changed how information is accessed and shared. wireless networking has been an

  What sort of information is available on files

Read the API documentation for the File class from the java.io package. What sort of information is available on files?

  Find the meaning and the use of following optional commands

POP3 protocol has some optional commands (that a client/server can implement). Using the information in RFC 1939, find the meaning and the use of the following optional commands

  How to find its third largest element

You are given a binary search tree. How to find its third largest element?

  What price would you pay for cash flows

What price would you pay for these cash flows? What total wealth do you expect after 2.5 years if you sell the rights to the remaining cash flows?

  What is the value of the? bond

If your required rate of return is 13 ?percent, what is the value of the? bond? How would your answer change if the interest were paid? annually?

  Inclusive and exclusive subtype relationship

Explain the difference between and inclusive subtype relationship and an exclusive subtype relationship.

  Transport cost to specified values

When giving the output, the program should be specific if it was a profit or loss that was made. The class should have a constructor that initializes buying price, selling price and transport cost to specified values and a default constructor that..

  What are the corresponding error rates

What are the corresponding error rates?

  What is the error polynomial

A CRC-checking sender, using generator 10001, suffers two bit errors in a 9-bit codeword, one each at the most and least significant bits.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd