this is the question-Write a class for Employee. Variables contained in the class are id, name and department. Create 10 objects for Employee class and store them in the array. While creating the object, values for the variables are obtained as input from the user. Iterate the array and print the details of the employee.
and my program is
i couldn't able to enter the values for name. this is my output