Skip to content

Instantly share code, notes, and snippets.

View DoozyDoz's full-sized avatar
😮‍💨
Sleeping..

Doozy DoozyDoz

😮‍💨
Sleeping..
View GitHub Profile
@DoozyDoz
DoozyDoz / results.json
Created April 23, 2026 09:47
FiberSet JMH results (ZIO #8861)
[
{
"jmhVersion": "1.37",
"benchmark": "zio.internal.FiberSetBenchmark.childrenAdd",
"mode": "thrpt",
"threads": 1,
"forks": 2,
"jvm": "/home/muhammad/.sdkman/candidates/java/17.0.13-tem/bin/java",
"jvmArgs": [],
"jdkVersion": "17.0.13",

Interview Questions

Kotlin

Q1: What is a primary constructor in Kotlin? ☆☆

Answer: The primary constructor is part of the class header. Unlike Java, you don't need to declare a constructor in the body of the class. Here's an example: