I want to print all of the class\'s properties with their name and values. I have used reflection, but getFields give me length of 0.
getFields
RateCode
getFields only returns public fields. If you want all fields, see getDeclaredFields