hi everybody .....
i have done a program regarding generation of hall-ticket . i have taken a main class and three methods for three examination centers like Hyd , B'lore and Mumbai. whenever . the user give datails , his hall ticket will be printed instantaneously with reg no 1. when the second user give details , his hall ticket is also printed with the same reg no 1 .The problem is registration no is not incrementing ..... b'coz , whenever the second user logged in , the whole class is again compiled and all the parameters are initialised ... so, if any one who knows about this can please send me the code to my mail id : <<snipped>> ............. hope u'll respond as soon as possible ......