Тёмный

Java 8 Streams programs you must prepare for Java Interviews 

Siva Reddy
Подписаться 22 тыс.
Просмотров 86 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 77   
@Vithal_Nivargi
@Vithal_Nivargi 2 года назад
Thank you please make one more video on Java8 coding questions
@maheshuma741
@maheshuma741 2 года назад
To calculate dept wise statistics like min,max,average we can use following code : empList.stream.collect(Collectors.groupingBy(Employee::getDeptId, Collectors. summarizingDouble(Employee::getSal))) ; it returns Map . Just for knowledge purpose sharing my thoughts.. Don't take it in another way.
@deepa8177
@deepa8177 8 месяцев назад
thanks fro sharing..
@InterviewDOT
@InterviewDOT 3 года назад
Very nice thanks for sharing 👌🙏
@venkatsam2472
@venkatsam2472 3 года назад
Wonderful explanation with example. Thank you so much. Will be waiting to see more videos.. 👏🏻👌🏻🙏🏻👍
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@start1learn-n171
@start1learn-n171 7 месяцев назад
Tq
@pratapjavasingh3239
@pratapjavasingh3239 3 года назад
I can request u sir whenever u writing the codes then atleast first explain predefined method apart from that then u can write the code it's request 🙏
@SivaReddyJavaTechie
@SivaReddyJavaTechie 3 года назад
Hi Pratap, Good suggestion. I make a note of it and will do same for future videos.
@pratapjavasingh3239
@pratapjavasingh3239 3 года назад
@@SivaReddyJavaTechie Thank you 🙏
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@rajuls6101
@rajuls6101 2 года назад
Sir can you answer this select employee where department is technology and location not equal to mumbai..
@ShinAkuma
@ShinAkuma 2 года назад
filter( e -> "technology".equals(e.getTechnology()) && !( "mumbai".equals(e.getCity()) ) )
@zuberdiwan8123
@zuberdiwan8123 Год назад
Very Nice Video. very well Explained. Thank You.......
@SivaReddyJavaTechie
@SivaReddyJavaTechie Год назад
You are most welcome
@DMvali
@DMvali 2 года назад
Thanks siva!
@muchukundareddy5315
@muchukundareddy5315 Год назад
Hi Siva, I tried Lambda expression as input for "Comparator.comparing" It was not working
@SandeepKumar-se2fd
@SandeepKumar-se2fd 2 года назад
Great and wonderful example for Stream API.... Great!!!!!
@SivaReddyJavaTechie
@SivaReddyJavaTechie Год назад
Glad you liked it!
@deepa8177
@deepa8177 8 месяцев назад
great video specially quetsion no 5.
@chetandy2573
@chetandy2573 3 года назад
Thanks sir, very nicely explained
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@JameS00989
@JameS00989 2 года назад
Amazing video Shiva much appreciated
@SivaReddyJavaTechie
@SivaReddyJavaTechie Год назад
Glad you liked it
@indranildas8485
@indranildas8485 2 года назад
what is the name of the background music?
@poojas1600
@poojas1600 Год назад
Excellent video
@SivaReddyJavaTechie
@SivaReddyJavaTechie Год назад
Thank you very much!
@maheshd3506
@maheshd3506 2 года назад
clear explanation and thanks
@SivaReddyJavaTechie
@SivaReddyJavaTechie Год назад
Glad you liked it
@lakshmidevilakshmidevi3984
@lakshmidevilakshmidevi3984 Год назад
Thank you for sharing your knowledge with us Sir
@kemparaj565
@kemparaj565 2 года назад
Amazing explanation. Thank You 😊. Could have formatted the code. Few parts of code is missing.
@venkatesha6378
@venkatesha6378 11 месяцев назад
super siva , good keep it up. its 13 years since we met.
@SuccessToSamadhi
@SuccessToSamadhi Год назад
excellent sir.. Thank you
@vikrantharne5269
@vikrantharne5269 3 года назад
Sir outer joins practice questions plz..scenario based
@SivaReddyJavaTechie
@SivaReddyJavaTechie 3 года назад
Sure. I will upload soon.
@vikrantharne5269
@vikrantharne5269 3 года назад
@@SivaReddyJavaTechie waiting..I'm still confused abt tht topic...
@SivaReddyJavaTechie
@SivaReddyJavaTechie 3 года назад
Sure. I will upload video on the requested topic as soon as possible
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@thebaseofpcmbclasses8028
@thebaseofpcmbclasses8028 Год назад
nice explanation sir
@coincidentIndia
@coincidentIndia 2 года назад
why using reducing ? we can directly use the maxBy on groupBy DepartmentId. Map maxSalaryByDept = employeeList.stream().collect(Collectors.groupingBy(Employee::getEmployeeDepartmentId, Collectors.maxBy(Comparator.comparing(Employee::getSalary)))); maxSalaryByDept.forEach((k,v)->{System.out.println("Dept "+k+" Salary "+v);});
@Sp_Travel_Vlogs07
@Sp_Travel_Vlogs07 Год назад
NYC information 22:33
@dharamkirti24
@dharamkirti24 2 года назад
Sir a git hub link would have been helpful
@user-0987-a
@user-0987-a 3 года назад
thanks
@SivaReddyJavaTechie
@SivaReddyJavaTechie 3 года назад
Thanks Nagesh. Please refer our RU-vid Channel to your friends and colleagues as it may helpful for them. Happy learning.
@knowledgeshare1622
@knowledgeshare1622 2 года назад
how to find sum of the salary of each department????
@jeckrazi7691
@jeckrazi7691 Год назад
Map mapEmpDept = empList.stream().collect(Collectors.groupingBy(Employee::getDept, Collectors.summarizingInt(Employee::getSalary))); mapEmpDept.entrySet().forEach(entry -> System.out.println("Dept:: " + entry.getKey() + " & Sum:: " + entry.getValue().getMin()));
@gottepavani1838
@gottepavani1838 Год назад
Sir how to get second max salary
@jeckrazi7691
@jeckrazi7691 Год назад
//Second Minimum Salary empList.stream().sorted(Comparator.comparing(Employee::getEmpSalary)).skip(1).limit(1).forEach(System.out::println); //Second Maximum Salary myEmployee_Demo.stream().sorted((e1,e2)-> (e1.getEmpSalary() < e2.getEmpSalary()) ? 1 : ((e1.getEmpSalary() == e2.getEmpSalary()) ? 0 : -1)).skip(1).limit(1).forEach(System.out::println);
@morning8474
@morning8474 3 года назад
sir plz upload hai video where u would teach run time question only.............Request by your suscriber
@SivaReddyJavaTechie
@SivaReddyJavaTechie 3 года назад
The intention is to emphasis on the importance of these programs so that viewers can pay more attention to prepare for the same and will get benefit in the interview.
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@enlightened7354
@enlightened7354 2 года назад
Filter?
@bacchaparty6275
@bacchaparty6275 3 года назад
U r brilliant sir
@SivaReddyJavaTechie
@SivaReddyJavaTechie 3 года назад
Thanks Amit. Please share our RU-vid channel to your friends circle as it may be helpful for them. Happy Learning.
@bacchaparty6275
@bacchaparty6275 3 года назад
@@SivaReddyJavaTechie Sure Sir
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@mamatharao2127
@mamatharao2127 2 года назад
Excellent
@CodeUpskill
@CodeUpskill 3 года назад
hi siva, can u give code github url?
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@anandpadamala3586
@anandpadamala3586 3 года назад
Nice sir 👌
@srinivass5552
@srinivass5552 3 года назад
Thanks sir very useful
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@palanirajkumar4904
@palanirajkumar4904 3 года назад
sir send the code
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@abhishekjain6559
@abhishekjain6559 2 года назад
Nice video.. very nicely explain.. Can you please explain the reducing function example.
@adityapratapsingh7311
@adityapratapsingh7311 3 года назад
Very helpful videos,make more such java8 programming videos....thanks a lot sir
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@riteshchiddarwar9881
@riteshchiddarwar9881 3 года назад
@siva, its very useful for quick review of java 8 streams. Very nice example you taken and explained . 👍 very best and helpful.
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@chinnimounika8645
@chinnimounika8645 3 года назад
Sir can you help me to slove my assignment programs in Java
@errahulrajocjp
@errahulrajocjp 2 года назад
Hello Sir ! Thank you for explanation. Q 5) Dept 103 having two employee having same salary 3500, but showing only one employee as a result ?
@javatech8530
@javatech8530 2 года назад
HCL Technologies Technical Round | 5+ Years Virtual Interview | Java Developers ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmxlNpEfL04.html
@maheshuma741
@maheshuma741 2 года назад
Thank you sir for making this video. . To get active and Inactive works in a single Iteration we can use partitionBy() method. Sample Code : employeeList.stream().collect( Collectors.partitioningBy(emp->"active".equalsIgnoreCase(emp.getName())) , It returns Map . At the calling place map.get(true) for active and map.get(false) for inactive.. We have n number of ways it is the one of the way.
@kshitijbansal3672
@kshitijbansal3672 Год назад
Can we do like this also? List.stream(). collect (Collectors.groupingBy(Employee: getStatus(), Collectors.counting()); It will first group by on basis of Active and Inactive and then count it.
Далее
Свадьба Раяна Асланбекова ❤️
00:12
Java 8 Interview questions/Interview Preparation
24:08
Просмотров 130 тыс.
The Home Server I've Been Wanting
18:14
Просмотров 179 тыс.
Java 8 STREAMS Tutorial
18:10
Просмотров 740 тыс.
Свадьба Раяна Асланбекова ❤️
00:12