diff options
| author | Divay Prakash <divayprakash@users.noreply.github.com> | 2020-01-24 19:45:12 +0530 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-24 19:45:12 +0530 | 
| commit | b00a26d98eb33ce1275eb40145ce9ff20633ad4c (patch) | |
| tree | a5a816948e9b57a98312f59c844bee0d26603c2b /java.html.markdown | |
| parent | b2e762307e064843059a5e649f3e7016032e8d74 (diff) | |
| parent | 529883d57870953493013c93b7d44fae6d4db88e (diff) | |
Merge branch 'master' into add-csharp-resource
Diffstat (limited to 'java.html.markdown')
| -rw-r--r-- | java.html.markdown | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/java.html.markdown b/java.html.markdown index ca0b04c2..4f45a268 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -289,7 +289,7 @@ public class LearnJava {          //            interface. This allows the execution time of basic          //            operations, such as get and insert element, to remain          //            constant-amortized even for large sets. -        // TreeMap - A Map that is sorted by its keys. Each modification  +        // TreeMap - A Map that is sorted by its keys. Each modification          //           maintains the sorting defined by either a Comparator          //           supplied at instantiation, or comparisons of each Object          //           if they implement the Comparable interface. @@ -470,11 +470,11 @@ public class LearnJava {          // <second value>"          int foo = 5;          String bar = (foo < 10) ? "A" : "B"; -        System.out.println("bar : " + bar); // Prints "bar : A", because the  +        System.out.println("bar : " + bar); // Prints "bar : A", because the          // statement is true.          // Or simply          System.out.println("bar : " + (foo < 10 ? "A" : "B")); -         +          ////////////////////////////////////////          // Converting Data Types @@ -918,7 +918,7 @@ public class Lambdas {          planets.keySet().forEach(p -> System.out.format("%s\n", p));          // Tracing the above, we see that planets is a HashMap, keySet() returns -        // a Set of its keys, forEach applies each element as the lambda  +        // a Set of its keys, forEach applies each element as the lambda          // expression of: (parameter p) -> System.out.format("%s\n", p). Each          // time, the element is said to be "consumed" and the statement(s)          // referred to in the lambda body is applied. Remember the lambda body @@ -998,6 +998,8 @@ The links provided here below are just to get an understanding of the topic, fee  * [Codewars - Java Katas](https://www.codewars.com/?language=java) +* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/) +  **Books**:  * [Head First Java](http://www.headfirstlabs.com/books/hfjava/) | 
