mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 20:34:32 +03:00
Merge pull request #2890 from sridhareaswaran/patch-1
added use of break keyword & new tutorial link
This commit is contained in:
commit
973532a079
@ -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