@@ -109,15 +109,13 @@ public class Test extends PreTest {
109109
110110}
111111
112- /* ---- NOTE: Always pay attention to new Test() or the new Class(), it will tell you which class
113- that object is going to create an image of, then no matter which class' object reference it has,
114- it is only going to have methods of the class mentioned with new keyword ----*/
115-
116-
117- /* -- PreTest obj = new Test(); (Then blue print of Test Class will be created) --*/
118112
119113```
120114
115+ > NOTE: (Require correction) Always pay attention to new Test() or the new Class(), it will tell you which class
116+ that object is going to create an image of, then no matter which class' object reference it has,
117+ it is only going to have methods of the class mentioned with new keyword.
118+
121119## * Comparators in Java:*
122120
123121``` java
@@ -287,3 +285,22 @@ public class Test{
287285
288286}
289287```
288+
289+ ## * Regular Expressions in Java:*
290+
291+
292+ | SN | Regular Expression | Description
293+ | :----: | :---: | :---:
294+ | 1 | ` [A-Za-z] ` | It matches all the uppercase and lowercase characters
295+ | 2 | ` [-+.^:,] ` | It matches all the special characters
296+ | 3 | ` [.] ` | It matches with a character of any kind
297+
298+
299+ ## * Lambdas in Java programming:*
300+
301+ * Printing with characters with the help of Java Stream:*
302+
303+ ``` java
304+ int [] arr = {1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 };
305+ Arrays . stream(arr). map(i- > i* i). forEach(System . out:: println);
306+ ```
0 commit comments