
hi can anyone help me with the following program. a program that can determine a person,s date of birth, age, gender and citizenship by just entering the id number.
thanks in advance

hi friend,
create a database table and insert the records what you are required then create a Java class and use JDBC to make a connection with database. Then write the select query using where clause as follows :
SELECT dob, age, gender, citizenship FROM person WHERE personID = id
Then get the result set and display the record.
Please go through the following links may this will be helpful for you :
Retrieving Data from the table using PreparedStatement