package ru.matevosyan;

import java.util.*;

public class Account {

    private final int value;
    private final String requisites;

    public int getValue() {
        return value;
    }

    public String getRequisites() {
        return requisites;
    }

    public Account(int value, String requisites) {
        this.value = value;
        this.requisites = requisites;
    }

}

package ru.matevosyan;

public class Account {

    private double value;
    private String requisites;

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public void setRequisites(String requisites) {
        this.requisites = requisites;
    }

    public String getRequisites() {
        return requisites;
    }

    public Account(double value, String requisites) {
        this.value = value;
        this.requisites = requisites;
    }

}

add setter and change int type to the double