You have few more problems with your code. You are creating array of ClassList of ten and then you are reading num from keyboard, but you are not verifying.
But the reason for your error is:
when you create like this
cobjt = new ClassList[10];
you are creating array of 10. But You haven't create the individual objects.
So, When you are trying to access cobjt[0], which is null, hence the NullPointerException
So, you try this way
cobjt[i] = new ClassList();
cobjt[i].toEnter(rollNo, name1);
In your toEnter function, you have written code to exit from your running program.
You are reading name1 with try catch, but you are not doing the same for rollNo