+1 (218) 451-4151
glass
pen
clip
papers
heaphones

1. Write a short Java method that uses a StringBuilder instance to remove all the punctuation from…

1. Write a short Java method that uses a StringBuilder instance to remove all the punctuation from…

1. Write a short Java method that uses a StringBuilder instance to remove all the punctuation from a string s storing a sentence, for example, transforming the string “Let’s try, Mike!” to “Lets try Mike”.2. Write a Java class, Flower, that has three instance variables of type String, int, and float, which respectively represent the name of the flower, its number of petals, and price. Your class must include a constructor method that initializes each variable to an appropriate value, and your class should include methods for setting the value of each type, and getting the value of each type.