Problem to create class to store data

May I know how do I create a class to store data with different variables?

A class in any language can handle different data types. You need to provide more details so people can assist you. What exactly are you trying to do? What language? What have you tried? Please read the forum rules.

Thanks a lot for your advices. I will try to provide more details next time. I alway forgot to put the language. sorry about it.