mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
added use of break keyword & new tutorial link
This commit is contained in:
parent
ccaa6ce57b
commit
7559305fb7
@ -418,6 +418,8 @@ public class LearnJava {
|
||||
// String class, and a few special classes that wrap primitive types:
|
||||
// Character, Byte, Short, and Integer.
|
||||
// Starting in Java 7 and above, we can also use the String type.
|
||||
// Note: Do remember that, not adding "break" at end any particular case ends up in
|
||||
// executing the very next case(given it satisfies the condition provided) as well.
|
||||
int month = 3;
|
||||
String monthString;
|
||||
switch (month) {
|
||||
@ -886,6 +888,8 @@ The links provided here below are just to get an understanding of the topic, fee
|
||||
|
||||
* [Codingbat.com](http://codingbat.com/java)
|
||||
|
||||
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
|
||||
|
||||
**Books**:
|
||||
|
||||
* [Head First Java](http://www.headfirstlabs.com/books/hfjava/)
|
||||
|
Loading…
Reference in New Issue
Block a user