Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-10 20:13:24 EDT

Explore

PostsPeople
LatestRanked
@gaurav1403.bsky.socialSep 21, 2026, 4:04 AM

Want to create a thread in Java without extending `Thread`?

I explained it simply in my latest ByteCraft article.

πŸ‘‰ gauravrshegekar.substack.com/p/creating-t...?

#Java #Multithreading #CoreJava

@gaurav1403.bsky.socialSep 18, 2026, 4:07 AM

Stack or Heap? πŸ€”

`User user = new User();`

Where does `user` go?
Where does the object go?

Understanding Stack vs Heap helps explain:

πŸ”Ή GC
πŸ”Ή Memory leaks
πŸ”Ή StackOverflowError
πŸ”Ή OutOfMemoryError

I explained it simply πŸ‘‡

gauravrshegekar.substack.com/p/stack-vs-h...?

#Java #JVM #CoreJava

@gaurav1403.bsky.socialSep 17, 2026, 3:00 AM

Heap, Stack, Method Area… πŸ˜΅β€πŸ’«

Where does Java actually store data?

The Heap stores objects. Each thread has its own Stack. The Method Area stores class information.

I explained JVM memory with examples and common errors πŸ‘‡

gauravrshegekar.substack.com/p/jvm-memory...?

#Java #JVM #CoreJava

@gaurav1403.bsky.socialSep 15, 2026, 12:54 PM

Java has Garbage Collection, but it doesn't fix every memory problem. πŸ˜„

GC checks whether objects are still reachable. If not, they become eligible for collection.

I explained Heap, GC Roots, G1, ZGC & memory leaks.

πŸ‘‰ gauravrshegekar.substack.com/p/garbage-co...?

#Java #JVM #CoreJava

@gaurav1403.bsky.socialSep 11, 2026, 4:34 AM

*Why is `String` immutable in Java? πŸ€”*

How do you make your own class immutable?

I explained immutable objects, defensive copying, `String`, thread safety, `HashMap` keys, and common interview questions in my new ByteCraft article.

πŸ‘‰ gauravrshegekar.substack.com/p/immutable-...?

#Java #CoreJava