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}}

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!