by

package printer;

public class Printer {

void println(int number) {
System.out.println(number);
}

void println(boolean bool) {
System.out.println(bool);
}

void println(double number) {
System.out.println(number);
}

void println(String string) {
System.out.println(string);
}

}

You may also like