Functional Interfaces in Java

  Рет қаралды 3,602

Byte Programming

Byte Programming

Күн бұрын

This functional interfaces in java video talks about myths and misconceptions of functional interface with respect to interview
#functionalinterface #byteprogramming

Пікірлер: 6
@yoshitamahajan353
@yoshitamahajan353 4 жыл бұрын
Can u please tell why java is pass by value and not pass by reference ?
@ingoba07
@ingoba07 3 жыл бұрын
In the ppt, you said Interface with single abstract method, default method and static method are not functional interface. I think this needs to be corrected?
@AJ-fb9pk
@AJ-fb9pk Жыл бұрын
It is a wrong statement ofcourse, that is a myth that he mentioned. MYTH implies something that is believed by people to be true but actually is false.
@mrkachary
@mrkachary 4 жыл бұрын
Pretty confusing. I understand your argument of Functional Interface were there earlier too and now have been coined. This is because of streams and lambda usage. I understand that the concept is borrowed from scala. This leads to confusion that what makes Java 8 more popular. Is it just perception of usage or anything related to new. Please explain
@ByteProgrammingVedantHarish
@ByteProgrammingVedantHarish 4 жыл бұрын
Let me try like this : 1. We have Runnable, Comparable, Comparator interface. They are functional interface. They are before Java 8 also. So, as you also pointed, Functional interface concepts and usage was before Java 8 also. So, saying Functional interface is introduced in Java 8 is contradictory. 2. What makes Java 8 more popular -> Lambda and Stream. Lambda has changed the way of writing code. Example : Try writing a comparator with lambda in Java 8 and try same with Java 7. 3. With Java 8, we have lambda and new interfaces like Predicate, Supplier. They are also functional interface. And these supports stream and helps you to achieve functional programming.
@tulasiramsunkara
@tulasiramsunkara 3 жыл бұрын
@Byte Programming : I believe Comparable is not a Functional Interface.
Exception Handling in Java : What is Exception? How Exception is Handled
3:44
Collection Concepts & Interview Questions (Part-1)
20:59
Byte Programming
Рет қаралды 16 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 58 МЛН
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,2 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 81 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 59 МЛН
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
Config Server | Microservices Architecture
18:01
Byte Programming
Рет қаралды 7 М.
Set and HashSet in Java - Full Tutorial
20:43
Coding with John
Рет қаралды 223 М.
Most Asked Hibernate Interview Questions | Interview Preparation
21:24
Byte Programming
Рет қаралды 10 М.
34. Thread Pools in Java | ThreadPoolExecutor Framework | Multithreading Part6
1:16:55
Concept && Coding - by Shrayansh
Рет қаралды 40 М.
Rest Interview Questions/Interview Preparation
13:54
Byte Programming
Рет қаралды 28 М.
If Your Tech Job is Comfortable, You're in Danger
20:57
Thriving Technologist
Рет қаралды 25 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 58 МЛН