object oriented

I have a textfile which includes some features of an object. Namely, its name, its size, its age and so on.

How can i read these infos from this text file and how will i call these later?

My question is;

I should write a code, reads infos from a text file. and these infos are of different type. One of them is just a number, one of them is some letters and so. How can i keep these infos in my code?
Topic archived. No new replies allowed.