please write a code that does all 3 things ! 5 points Status: Not Submitted Hello!
Fantastic news! We've Found the answer you've been seeking!
Question:
please write a code that does all 3 things !
Transcribed Image Text:
5 points Status: Not Submitted Hello! ► As a twist on the Hello World exercise, you are going to be the end user of the Hello class. This class is designed to greet the user in a variety of world languages. For this task, complete the following Use the Scanner class to ask the user for their name • Create a Hello object by passing the name to the constructor Call at least 3 methods from the Hello class to print the greeting in 3 different languages. Remember to write your code in the HelloTester class, but make sure you take a look at the Hello class so that you know the names of the methods you need to use. 5 points Status: Not Submitted Hello! ► As a twist on the Hello World exercise, you are going to be the end user of the Hello class. This class is designed to greet the user in a variety of world languages. For this task, complete the following Use the Scanner class to ask the user for their name • Create a Hello object by passing the name to the constructor Call at least 3 methods from the Hello class to print the greeting in 3 different languages. Remember to write your code in the HelloTester class, but make sure you take a look at the Hello class so that you know the names of the methods you need to use.
Expert Answer:
Answer rating: 100% (QA)
HelloTesterjava Java class to create object of Hello class and use t... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Write a code that does the following: ( C programming ) //In all of the functions below, all arguments of type Matrix //or Vector are passed by reference (since they are array types). /*...
-
Write a code that includes CSS and html to create a web page, provided that the page has two interfaces.
-
Write the SQL code to change the EMP_PCT value to 3.85 for the person whose employee number (EMP_NUM) is 103. Next, write the SQL command sequences to change the EMP_PCT values as shown in...
-
A company acquired a chargeable asset (not a chattel) in 1979. The asset was sold in December 2020 for 2,800. Compute the chargeable gain or allowable loss if the original cost of the asset and its...
-
What are the essential components of compensation practices that an auditor should look at when evaluating the control environment?
-
500 J of work must be done to compress a gas to half its initial volume at constant temperature. How much work must be done to compress the gas by a factor of 10, starting from its initial volume?
-
On December 31,2010, the Accounts Receivable balance of Alterations Express is $300,000. The Allowance for Uncollectible Accounts has a $3,900 credit balance. Alterations prepares the following aging...
-
The T accounts for Equipment and the related Accumulated Depreciation for Pettengill Company at the end of 2010 are shown here. In addition, Pettengill Companys income statement reported a loss on...
-
Coleman v. Retina Consuultants P.C. Who sued who and what were the claims/causes of action being made against the defendant What the trial court decided Who appealed (there may be multiple appeals...
-
The CitruSun Corporation ships frozen orange juice concentrate from processing plants in Eustis and Clermont to distributors in Miami, Orlando, and Tallahassee. Each plant can produce 20 tons of...
-
An auditor knew that the purpose of their audit was to render reasonable assurance on financial statements that were to be used for the application for a loan; the auditor did not know the identity...
-
How do servant leaders prioritize the well-being and development of their team members, fostering a supportive environment that encourages autonomy, mastery, and purposeful engagement ?
-
A company sets an auction for N objects. Bidders place their bids for some subsets of the N objects that they like. The auction house has received n bids, namely bids bj for subset Sj, for j =...
-
Expected return - D 0 = $3.00, P 0 = $45, g = 2.0% Required Return - r rf = 2%, r m = = 10%, b= 0.9 With that background in mind, address the following questions. a) Is this stock in equilibrium?...
-
Adams Company makes a product that sells for $ 3 3 per unit. The company pays $ 1 9 per unit for the variable costs of the product and incurs annual fixed costs of $ 1 3 7 , 2 0 0 . Adams expects to...
-
Question 1 Consider two countries - Country A and Country B - producing two goods - Good X and Good Y. Using all its resources, Country A can produce either 100X or 200Y. Using all its resources,...
-
You need this method that writes to an output file, but the method header is incomplete. Note: This method uses javax.swing.JFileChooser public void chooseFile (String record) { } JFileChooser...
-
Listed below are common types of current liabilities, contingencies, and commitments: a. Accounts payable b. Bank loans and commercial paper c. Notes payable d. Dividends payable e. Sales and excise...
-
For each of the following cases, indicate the filing status for the taxpayer(s) for 2012 using the following legend: A - Single B - Married, filing a joint return C - Married, filing separate returns...
-
Janie graduates from high school in 2012 and enrolls in college in the fall. Her parents pay $4,000 for her tuition and fees. a. Assuming Janie's parents have AGI of $170,000, what is the American...
-
Rebecca and Walter Bunge have been married for 5 years. They live at 883 Scrub Brush Street, Apt. 52B, Las Vegas, NV 89125. Rebecca is a homemaker and Walt is a high school teacher. Rebecca's Social...
-
Calculate the volume occupied by isopropanol vapour at \(200^{\circ} \mathrm{C}\) and 10 bar by using (a) Ideal gas equation of state (b) Virial equation of state (c) Virial equation of state \[...
-
The Dieterici equation of state is given by \[ P(V-b) \exp \left(\frac{a}{R T V} ight)=R T \] where \(a\) and \(b\) are constants. Develop the relations to determine the constants \(a\) and \(b\) in...
-
At \(17^{\circ} \mathrm{C}\), at constant pressure, the heat of combustion of amorphous carbon is 96960 cal and that of \(\mathrm{CO}\) to \(\mathrm{CO}_{2}\) is \(67960 \mathrm{cal}\). Determine the...
Study smarter with the SolutionInn App