You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class TransferTask {
private final Account sender;
private final Account receiver;
private final int amount;
public TransferTask(Account sender, Account receiver, int amount) {
this.sender = sender;
this.receiver = receiver;
this.amount = amount;
}
public Account sender() {
return sender;
}
public int amount() {
return amount;
}
public Account receiver() {
return receiver;
}
// Other methods elided
}
The text was updated successfully, but these errors were encountered:
설명
참고
샘플
The text was updated successfully, but these errors were encountered: