Displaying Date Of Birth in java by using Date Util

Posted by via-point on Stack Overflow See other posts from Stack Overflow or by via-point
Published on 2010-05-27T17:08:10Z Indexed on 2010/05/27 17:11 UTC
Read the original article Hit count: 215

Filed under:

I'm testing a Person class that models a person with name, address and date of birth. How do I set dob (date of birth)?
This doesn't work:

Person a = new Person();  
a.setDateOfBirth (01/08/1985);

© Stack Overflow or respective owner

Related posts about java