gaurav1403.bsky.social
👤 Joined on 08 April 2026
Followers
Following
Total Posts
@gaurav1403.bsky.socialYou invoke new on a class, and an object instance is returned, so I'm not quite sure that's entirely correct.
Show PostOne of Java's classic traps: java user1 == user2 // false user1.equals(user2) // true Why? `==` → same reference `equals()` → logical equality And if you override `equals()`, don't forget `hashCode()`. I explained it simply 👇 gauravrshegekar.substack.com/p/equals-in-...?
Show PostWhy does Java need `Integer` when we already have `int`? 🤔 `int → Integer` = Autoboxing `Integer → int` = Unboxing Wrappers matter in Collections, Generics, APIs—and interviews. 😄 Read 👇 gauravrshegekar.substack.com/p/wrapper-cl...? #Java #Programming
Show Post🎉 200 Subscribers! Thank you to everyone who subscribed, read, liked, commented, and shared my posts. ❤️ If you want to explore coding concepts, Java, backend development, and developer life in simple words: 👉 Subscribe & share ByteCraft with a fellow developer. gauravrshegekar.substack.com
Show Post