create a class employee having instance variable id,name,age,salary.now , when u run the program it must be ask u to 1.add employee 2.view employee 3.exit if u enter value other than 1,2,3 program should say invalid input . if u add more than 5 employees an exaception must be thrown.
Plz help me through these i m new to it .
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.