Welcome to Javaranch, Kiki Thomas.
When I execute your code I get the below output.
But you have mentioned that you see only the property types printed. Could you please verify it again?
The catch block in the code is blank without printing any necessary information on the Exception like below.
Never have a catch block as blank, else you would never know if the Exception ever occurred. At least print the Exception trace using
getStackTrace() method.
Please
UseAMeaningfulSubjectLine next time other than "Please HELP". I have fixed it this time for you.