public String[] decode(String message)
{
String ans1 = "hey";
String ans2 = "hi";
return {ans1 , ans2}; // Is it correct?
}
This above example does not work properly. I am getting a error.
How can I achieve the initial question?