What is returned as a result of calling makeFancy("JAVA")? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is returned as a result of calling makeFancy("JAVA")?

public static String makeFancy(String s) { if (s.length() == 0) { return "*"; } return "*" + s.substring(0,1) + makeFancy(s.substring(0, s.length()-1)); } options are: 1)*J*A*V*A 2) * *J*A*V*A* * 3) *J*J*J*J* 4) *A*A*A*A* 5) *JJJJ*

30th Jun 2018, 2:51 PM
VISHAL BHAUSAHEB PATIL
VISHAL BHAUSAHEB PATIL - avatar
6 Answers
+ 1
https://code.sololearn.com/cH4l0XU20R1L/?ref=app option 3::as you want answer not explanations:::
30th Jun 2018, 4:50 PM
Nitish kumar jha
Nitish kumar jha - avatar
+ 2
vishal patil spamming in your own questions will only make it less likely for it to be answered also why don't you just test the code yourself lmao you have the code with you
30th Jun 2018, 4:14 PM
hinanawi
hinanawi - avatar
0
CAN SOMEONE PLEASE TELL ME THE ANSWER WITHIN TWO HOURS I WOULD BE GREATFULL FOR YOUR HELP THANKYOU
30th Jun 2018, 2:53 PM
VISHAL BHAUSAHEB PATIL
VISHAL BHAUSAHEB PATIL - avatar
0
HELP ME PLEASE
30th Jun 2018, 3:28 PM
VISHAL BHAUSAHEB PATIL
VISHAL BHAUSAHEB PATIL - avatar
0
SOMEBODY PLEASE
30th Jun 2018, 3:28 PM
VISHAL BHAUSAHEB PATIL
VISHAL BHAUSAHEB PATIL - avatar
0
please tell me its my assigment question and i dont know how to put the code its coming error every time so please tell me i beg for the answer
30th Jun 2018, 4:34 PM
VISHAL BHAUSAHEB PATIL
VISHAL BHAUSAHEB PATIL - avatar