@@ -0,0 +1,1095 @@
+package deletepunctuations;%0A%0A/**%0A *%0A * Write a short Java method that uses a StringBuilder instance to remove all%0A * the punctuation from a string s storing a sentence, for example, transforming%0A * the string %22Let%E2%80%99s try, Mike!%22 to %22Lets try Mike%22.%0A *%0A * @author Khav%0A */%0Apublic class DeletePunctuation %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        StringBuilder sb = new StringBuilder();%0A        sb.append(%22Let's try, Mike!%22);%0A        RemovePunctuations(sb);%0A        System.out.println(sb);%0A    %7D%0A%0A    public static void RemovePunctuations(StringBuilder sb) %7B%0A        if (sb.length() != 0) %7B%0A            String%5B%5D punctuations = %7B%22'%22, %22,%22, %22!%22, %22.%22%7D;%0A            for (String punctuation : punctuations) %7B%0A                //delete punctuation from array if it exists%0A                int index = sb.indexOf(punctuation);%0A                //delete all instances of that specific punctuation from string %0A                while (index != -1) %7B%0A                    sb.deleteCharAt(index);%0A                    index = sb.indexOf(punctuation);%0A                %7D%0A            %7D%0A        %7D%0A%0A    %7D%0A%7D%0A

Create DeletePunctuation.java