Java | Future vs CompletableFuture | Interview Question | Senior Java Developer | Lead Developer

  Рет қаралды 6,789

Prashant Sharma

Prashant Sharma

2 жыл бұрын

Join this channel to get access to perks:
/ @prashantsharmaofficial
Please like, share, and subscribe!!
Document Link: mycodingcenter...

Пікірлер: 6
@jungleman1012
@jungleman1012 Жыл бұрын
This is a great tutorial. Thanks for your effort!!!
@VenkteshShivam
@VenkteshShivam 2 жыл бұрын
❤️
@dineshbabu3227
@dineshbabu3227 2 жыл бұрын
18:12 doesn't make any sense to me. You just created a new completableFuture and it is not linked with the single thread executor you just created and submitted, The returned object from the STR should be assigned to completableFuture correct?
@PrashantSharmaOfficial
@PrashantSharmaOfficial 2 жыл бұрын
Is it necessary to link CompletableFuture with Single Thread Executor? This should answer your first question. To your second one - Yes, we can return an object/null but I tried to show a simple example which even beginners can understand.
@ayeshabadepeer1593
@ayeshabadepeer1593 Жыл бұрын
Could you please keep the document link which you refering in chat it would be good
@PrashantSharmaOfficial
@PrashantSharmaOfficial Жыл бұрын
I've added that in the description now. Thanks for pointing it out!
Это реально работает?!
00:33
БРУНО
Рет қаралды 4,3 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 31 МЛН
Coding Round Java Developer Interview  Exp - 2.+ years in tcs life
25:26
Java is Awesome
Рет қаралды 110 М.
Java 8 Streams | Optional Usage and Best Practices | JavaTechie
22:22
STOP Learning These Programming Languages (for Beginners)
5:25
Andy Sterkowitz
Рет қаралды 677 М.
Introduction to CompletableFuture in Java 8
19:34
Defog Tech
Рет қаралды 323 М.