Just a quick question here.
I'm trying to create a variation of a getAge() method I created using
Java 8's wonderful new library.
Here's what it looks like.
What I'm looking for help with is this code exactly:
It returns the age perfectly, but doesn't handle leap years very well, so I was just wondering if there was another way to re-create this getAge() method. Just as a note, in the main code, it prompts the user to enter their birth date (mm/dd/yyyy).
Thanks for the help.