Design a program that has five definitions of the method dataOut, with each one having a different signature.
1
Expert's answer
2016-03-31T11:04:04-0400
package com.company;
public class Main { public static void dataout(String str){}; public static void dataout(String str, int count){}; public static void dataout(String str, int count, double bill){}; public static void dataout(String str, int count, double bill, int tip){}; public static void dataout(String str, int count, double bill, int tip, String allStr){};
Comments