Keypad codes recursion

in this ques have we hardcode the string and the numeric value?
lyk : 1 = abc;
2=def;
so that whatever the number user will input ,we can look forward the solution with the assigned string in the code???

@sameeksha,
Yes we have hardcoded the string and numeric value. Simple example can be if you can remember the old nokia phones when you had to press ‘1’ twice to type b and so on.

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.