Question: public class SalutationsTester { public static void main(String[] args) { // Test your class here } } ------- public class Salutations { // Put your
public class SalutationsTester
{
public static void main(String[] args)
{
// Test your class here
}
}
-------
public class Salutations
{
// Put your code here
}
![public class SalutationsTester{public static void main(String[] args){// Test your class here}}](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/10/670eae4b44e26_371670eae4b225e9.jpg)
Exercise 2.4.8: Greetings and Salutations w Write a class called Salutations that prints various greetings and salutations. The class should have one instance variable, a String called name to represent the person to whom the salutations are directed. The class should have the following methods Aconstructor that takes a String to initialize name with public void addressLetterO public void signLetterO public void addressMemoO public void signMemoO addressLetter should print \"Dear name\
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
