- A) Is it important to have a break after every case in theswitch statement?)
b) Explain lain your answer by writing an example of a switchstatement and showing the effect of including and excluding thebreak.
                                                                                                                                                              10points
- A) String Name = KB.NextLine();
     Write a java statement to convertName to upper case.
B) char Letter =KB.next().charAt(0);
         Write ajava statement to convert Letter to lower case.
                                                                                                                                                      5 points
c) Write a while loop which allows the user to enter numbersbetween 1 and 15, the loops keep iterating as long as the total ofthe entered numbers is less than 1000.
                                                                                                                                                      15points Â
                                                                                                                                                                  Â
- Write an example of a trailing else, and explain the importanceof using the trailing else statement.
5 points
- A) Write an example of an if-else and an example of asimple if statements.B) Write an example of nested ifstatement
15 points
THIS IS FOR JAVA PROGRAMMING. PLEASE ANSWER ASAP. THANKYOU