Coding Wallah Sir
🔥 Day 7 – Java Quiz ChallengeAaj ka sawaal string manipulation lovers ke liye hai — replace bhi hoga, reverse bhi, aur index trap bhi 😎String str = "JAVAQUIZ";str = str.replace("A", "*");String rev = "";for (int i = str.length() - 1; i >= 0; i -= 2) { rev += str.charAt(i);}System.out.println(rev);💬 Dry run karke answer comment karo, guessing allowed nahi 😏
2 weeks ago | [YT] | 9
@arpit441
W comment section Ans is ZU**
2 weeks ago | 1
@AmanSingh-nh5ih
Error in the output , output should be ZU**
2 weeks ago | 0
@KishanYadav-fn1gl
Error
@APEr-t4m
Error found
Coding Wallah Sir
🔥 Day 7 – Java Quiz Challenge
Aaj ka sawaal string manipulation lovers ke liye hai — replace bhi hoga, reverse bhi, aur index trap bhi 😎
String str = "JAVAQUIZ";
str = str.replace("A", "*");
String rev = "";
for (int i = str.length() - 1; i >= 0; i -= 2) {
rev += str.charAt(i);
}
System.out.println(rev);
💬 Dry run karke answer comment karo, guessing allowed nahi 😏
2 weeks ago | [YT] | 9