Калькулятор подоходного налогаJAVA

Программисты JAVA общаются здесь
Anonymous
Калькулятор подоходного налога

Сообщение Anonymous »

package edu.westga.taxcalculator.model;

/**
* Creates a taxReturn object
*/
public class TaxReturn {
private double income;

/**
* Constructor for the TaxReturn class
*
* @param income
* the income of the person.
*/
public TaxReturn(double income) {
if (income < 0) {
throw new IllegalArgumentException(
"Income can't be less than zero.");
}
this.income = income;
}

public void getTax() {
if (income

Подробнее здесь: https://stackoverflow.com/questions/221 ... calculator

Вернуться в «JAVA»