A letter from Feb 12, 2025

Time Travelled — 6 months

Peaceful right?

Dear FutureMe, public class bucket { private int capacity; private double currentamout; public bucket(int capacity, double currentamout) { this.capacity = capacity; this.currentamout = currentamout; } public int getCapacity() { return capacity; } public void setCapacity(int capacity) { this.capacity = capacity; } public double getCurrentamout() { return currentamout; } public void setCurrentamout(double currentamout) { if (currentamout > this.capacity){ this.currentamout = 0; } else{ this.currentamout = currentamout; } } @Override public String toString() { return "bucket{" + "capacity=" + capacity + ", currentamout=" + currentamout + '}'; } }

Load more comments

Sign in to FutureMe

or use your email address

Don't know your password? Sign in with an email link instead.

By signing in to FutureMe you agree to the Terms of use.

Create an account

or use your email address

You will receive a confirmation email

By signing in to FutureMe you agree to the Terms of use.

Share this FutureMe letter

Copy the link to your clipboard:

Or share directly via social media:

Why is this inappropriate?