(Please excuse the level of simplicity in this question, as it is very basic)
I have been working with very simple Object-Orientated Programs and learning basic concepts. For example, my programs would only have one or two objects, each being assigned to a variable.
TStudent student1 = new TStudent(); TStudent student2 = new TStudent();
As you can see in the above program, I have two simple variables (student1 and student2). Each variable stores an object of type TStudent.
My question is, what if I had 1000 students, each with a FName, SName, Address etc. Would I continue on and create 1000 variables? And, would data relating to the properties of these objects (such as their FName, SName, Address etc) be stored in a database?
I hope this makes sense, and I apologize for the simplicity of it. thanks.