Are we taking input of string and integer in one line

if yes then how we are going to do that because array contains similar kind of data type

@ubaidshaikh9999
you can either create employee class which contains two data types one string and one integer type then you can create an array of employee class.

another option is to take two array one for string and one for integer.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.