i am asking you give me an example for the object oriented programming using MVC architecture
then my problem is railway tickect generation System
in my system one of the task is creating the routes
for every route we have number railwaystations are there.
so i am using arraylists for creating each route
here every object is one route and i am adding that object to that arraylist.
for this one i have to do code in MVC architecture