Ok, I received an assignment today, and we have our weekly test tomorrow.
I was going through the 25 questions, and this is my first problem...
The question is as follows:
Write a program to keep count of created objects for a class. Make suitable assumptions.
For example, in the class Student, assign roll number to all students starting from 1 in increasing order at the time of creating the objects.
Now I am really clueless... thanks to "at the time of creating the objects."
Any help?