Thanks for your replies. Tronfi, you got the point, I'm looking strictly for a solution with class objects. I know how to create arrays but I don't know how to do it within a class.

Please can someone show me a code where you let user enter 5 words, which are stored in array and then you access those words in array through iteration loop and display. It has to use class. Is it possible to do such thing?

I appreciate your help.