how to create an employee class with employee id's,name and address,how can we store in vector, and how we can display his name and address from the vector when an employee id is given.
Below is my code which i have tried.
It is really not intentional. The code I have posted worked fine. The problem was with return statement. After putting try catch it shown the errors I posted. I am a very beginner so I was not able to analyze that good as how you did. Thanks for your replies I l set the correct classpath as you have suggested.