diff --git a/13 - Multithreading/13.5 - Thread Priority/src/Test.java b/13 - Multithreading/13.5 - Thread Priority/src/Test.java index 10c6e7f..8ee82f0 100644 --- a/13 - Multithreading/13.5 - Thread Priority/src/Test.java +++ b/13 - Multithreading/13.5 - Thread Priority/src/Test.java @@ -28,8 +28,8 @@ public static void main(String[] args) throws InterruptedException { System.out.println("BYEEE IN BETWEEN"); // This won't be printed at the end because Main thread is idle and will execute this before only. System.out.println("Is t1 alive: " + t1.isAlive()); - t1.join(); // will wait for t1 to complete execution and join main thread - t2.join(); // will wait for t2 to complete execution and join main thread + t1.join(); // will wait for t1 to complete execution and join main thread + t2.join(); // will wait for t2 to complete execution and join main thread System.out.println("BYEE AT THE END"); System.out.println("Is t1 alive: " + t1.isAlive()); diff --git a/17 - Stream API/17.1 - Printing values using external iteration/src/Test.java b/17 - Stream API/17.1 - Printing values using external iteration/src/Test.java index 54f60cb..07f472f 100644 --- a/17 - Stream API/17.1 - Printing values using external iteration/src/Test.java +++ b/17 - Stream API/17.1 - Printing values using external iteration/src/Test.java @@ -15,7 +15,7 @@ External Iterations (loop outside the object) - for each loop Internal Iterations (loop inside the object) - forEach method - */ +*/ import java.util.Arrays; import java.util.Iterator; diff --git a/17 - Stream API/17.12 - 17.16 Stream Map, Reduce methods/src/Test.java b/17 - Stream API/17.12 - 17.16 Stream Map, Reduce methods/src/Test.java index a67f048..190f669 100644 --- a/17 - Stream API/17.12 - 17.16 Stream Map, Reduce methods/src/Test.java +++ b/17 - Stream API/17.12 - 17.16 Stream Map, Reduce methods/src/Test.java @@ -5,7 +5,7 @@ Internal Iterations: (Stream API) - just focus on what to do - */ +*/ import java.util.Arrays; import java.util.List; @@ -19,8 +19,8 @@ public static void main(String[] args) { // We need to find the sum of all the values*2 - int result = 0; // 1) Using traditional for-each loop + int result = 0; for (int value : values) { result += value*2; } diff --git a/18 - New DateTime Api/18.1 - New DateTime Api/src/Test.java b/18 - New DateTime Api/18.1 - New DateTime Api/src/Test.java index e681ea4..42a9894 100644 --- a/18 - New DateTime Api/18.1 - New DateTime Api/src/Test.java +++ b/18 - New DateTime Api/18.1 - New DateTime Api/src/Test.java @@ -10,7 +10,7 @@ Changes in new DateTime API: - new package time was created - Date object only print Date now, and not Time to avoid confusion - */ +*/ import java.time.Instant; import java.time.LocalDate; diff --git a/9 - String + Builder + Buffer/9.3 - User input using System.in.read()/src/Test.java b/9 - String + Builder + Buffer/9.3 - User input using System.in.read()/src/Test.java index 8f79476..dfd0574 100644 --- a/9 - String + Builder + Buffer/9.3 - User input using System.in.read()/src/Test.java +++ b/9 - String + Builder + Buffer/9.3 - User input using System.in.read()/src/Test.java @@ -6,7 +6,7 @@ - returns byte value in the form of int in range 0 to 255 - that value is basically the ascii value of that character - not efficient - */ +*/ public class Test { public static void main(String[] args) throws Exception { diff --git a/README.md b/README.md index 78e401a..daf8ef8 100644 --- a/README.md +++ b/README.md @@ -1 +1,22 @@ -### All the codes and notes of (Core Java Tutorials by Telusko) +### Core Java Tutorials by Telusko + +This repo contains all the codes and notes of the amazing [Core Java Tutorials by Telusko](https://www.youtube.com/watch?v=WOUpjal8ee4&list=PLsyeobzWxl7oZ-fxDYkOToURHhMuWD1BK) + +This tutorial is broken down into 18 modules: +1) Intro to Java +2) Variables +3) How Java works? +4) Operators +5) If-else, Loops +6) Arrays +7) Class and Object +8) OOPS Concepts +9) String + StringBuilder + StringBuffer +10) Exception Handling +11) Object Cloning + Serialization +12) File Handling + Serializable +13) Multithreading +14) Collection and Generics +15) Inner Class + Enum + Annotations +17) Stream API +18) New DateTime api