Slide 26 implies equivalence to if-else example on slide 20. The switch will result in the default case outputting 'Sorry You Failed', rather than 'Excellent' which would make it equivalent to the prior if-else example. Technically the code is not wrong, just misleading.
Harry --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
