JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
Debug 7.4. Sweet Nothings
Share
Explore
Gallery
Debug 7.4. Sweet Nothings
Debug 7.4. Sweet Nothings
The Task
Code Clips
The Task
Activity: Debug 7.4 Sweet Nothings 🐞 🍬
Start Here
A bug report has been has been submitted on this program.
It is supposed to display the all the Jelly Belly flavours that are stored in the array.
However but it is only displaying 1 value which looks very strange!
Can you help fix it?
Run and explore the program to identify errors, there are more than one.
Read the comments, read the java code and refer to the
code clips
below to help you fix the errors one at a time.
Right click on your code and add a comment explaining what was wrong and how you fixed it.
Good luck! 🍀
Sample Output
Jelly Belly Flavours
=======================
1 : Berry Blue
2 : Bubble Gum
3 : Candy Floss
4 : Mixed Berry Smoothie
5 : Tutti-Fruitti
6 : Strawberry Cheesecake
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.