Login / Sign Up

Java Questions

View All Languages
Filters:
Tricky

map() vs flatMap().

Open to read the full question, answer, code and follow-ups.

Java60
#java-8#practice#streams
Read
Medium

filter() vs map().

Open to read the full question, answer, code and follow-ups.

Java61
#practice#learning
Read
Tricky

reduce() operation.

Open to read the full question, answer, code and follow-ups.

Java62
#practice#learning
Read
Medium

Collectors.groupingBy().

Open to read the full question, answer, code and follow-ups.

Java63
#practice#learning
Read
Tricky

Thread lifecycle.

Open to read the full question, answer, code and follow-ups.

Java66
#practice#learning
Read
Tricky

Runnable vs Callable.

Open to read the full question, answer, code and follow-ups.

Java67
#practice#learning
Read
Medium

Synchronization.

Open to read the full question, answer, code and follow-ups.

Java68
#practice#learning
Read
Tricky

volatile keyword.

Open to read the full question, answer, code and follow-ups.

Java69
#practice#learning
Read
Hard

Deadlock and prevention.

Open to read the full question, answer, code and follow-ups.

Java71
#practice#learning
Read
Tricky

Race Condition.

Open to read the full question, answer, code and follow-ups.

Java72
#practice#learning
Read
Tricky

ReentrantLock.

Open to read the full question, answer, code and follow-ups.

Java73
#practice#learning
Read
Medium

Semaphore.

Open to read the full question, answer, code and follow-ups.

Java74
#practice#learning
Read
Medium

CountDownLatch.

Open to read the full question, answer, code and follow-ups.

Java75
#practice#learning
Read
Medium

CyclicBarrier.

Open to read the full question, answer, code and follow-ups.

Java76
#practice#learning
Read
Medium

AtomicInteger.

Open to read the full question, answer, code and follow-ups.

Java77
#practice#learning
Read
Medium

ExecutorService.

Open to read the full question, answer, code and follow-ups.

Java78
#practice#learning
Read
Hard

ForkJoinPool.

Open to read the full question, answer, code and follow-ups.

Java79
#practice#learning
Read
Hard

CompletableFuture.

Open to read the full question, answer, code and follow-ups.

Java80
#practice#learning
Read
Medium

Singleton Pattern.

Open to read the full question, answer, code and follow-ups.

Java81
#practice#learning
Read
Medium

Factory Pattern.

Open to read the full question, answer, code and follow-ups.

Java82
#practice#learning
Read
Medium

Builder Pattern.

Open to read the full question, answer, code and follow-ups.

Java83
#practice#learning
Read
Medium

Strategy Pattern.

Open to read the full question, answer, code and follow-ups.

Java84
#practice#learning
Read
Medium

Observer Pattern.

Open to read the full question, answer, code and follow-ups.

Java85
#practice#learning
Read
Easy

Reverse a String.

Open to read the full question, answer, code and follow-ups.

Java87
#practice#learning
Read
Easy

Palindrome check.

Open to read the full question, answer, code and follow-ups.

Java88
#practice#learning
Read