The code in the following Java program is redundant, basically doing the same thing twice.Write a static method named getBills that eliminates this… 5. The code in the following Java program is redundant, basically doing the same thing twice. Write a static method named getBills that eliminates this redundancy. Rewrite method main to use your new method.import java.util.*;public class Bills...