Skip to content

Instantly share code, notes, and snippets.

View sdan-07's full-sized avatar
🎯
Focusing

Soumyadip Dan sdan-07

🎯
Focusing
View GitHub Profile
@sdan-07
sdan-07 / ExecutorUsingCallable.java
Last active September 4, 2025 19:10
Implementation of Executor framework
package multiThreading;
import java.util.concurrent.*;
public class ExecutorUsingCallable {
public static void main(String[] args) {
//using Callable to demonstrate
Callable<Integer> sumCalc = () -> {
int sum =0;