JavaNixOps (@javaNixOps) header
JavaNixOps (@javaNixOps) profile picture

Compiling knowledge, executing solutions ☕🐧⚙️ | Java | Linux | DevOps | 99.9% uptime, 100% caffeine-powered | Spring | SpringBoot | Microservices | Resilient

Joined October 2025
Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)Photo by JavaNixOps (@javaNixOps)
Hello everyone, has anyone left their job recently, if you were applicable for gratuity, how it was calculated?? #gratuity #labourcode
1
48
Java dev rule: If your objects say they're equal in equals() but give different hashCode(), then congratulations — you just invented “ghost elements” in your HashMap 😂 Respect the contract! #Java #ProgrammingHumor
64
Last Month I have attended few of the Java FullStack SpringBoot interviews and here are the questions asked for CoreJava [Easy] What is the use of the transient keyword? [Easy] Explain equals and hashCode in Java. [Easy] What is a HashMap collision? [Medium] What do you mean by a race condition in a HashMap and how can we overcome it? [Easy] How do you make a class immutable in Java? [Medium] What is the difference between ClassNotFoundException and NoClassDefFoundError, and when do they occur? [Easy] When would you prefer Comparator over Comparable, and vice versa? [Medium] What do you mean by ThreadLocal? [Easy] What is the difference between Runnable and Callable? [Easy] What is a singleton class? How do you ensure only one instance is created? Is declaring a class final and static enough? If a class is final, can you still create two instances? [Medium] Convert an ArrayList<String> of comma-separated values (e.g., "11,21") into a Map<Integer, Integer> counting occurrences using Streams. [Easy] What do you mean by association vs composition? [Easy] What is StringJoiner (Java 8)? [Medium] What is a Spliterator? [Easy] What does the peek method do in streams? [Easy] What is the difference between HashMap and Hashtable in Java? [Medium] How do thread priorities work and what priority values are available? [Easy] Can we overload the main method? [Medium] How would you troubleshoot a Java memory leak (heap dumps, thread dumps, GC)? [Medium] How would you process a very large data set that does not fit into memory (batching/chunking)? [Hard] How would you implement a distributed locking mechanism for frequent concurrent writes?
1
2
136
What’s one topic / Concept you want to learn in Java/ Linux / Spring /Spring boot, write down in comments, I will create w detailed explanation for that 👍
2
93
10 + Years of Experience Software Engineer here ask me anything, I will give you an honest response, suggestions if you need for the tech ,career 🙂‍↔️
1
2
5
158
You can master technical interviews by structuring your response based on the question type (Conceptual, Coding, Flow, etc.). This ensures your answer is concise and comprehensive.
1
1
3
137
🚀 Ever wondered how Java Virtual Threads actually work under the hood?Here's the M:N threading model explained • Millions of Virtual Threads • Few Carrier Threads (= CPU cores)• Smart Mount/Unmount on I/O,VTs park when blocked, freeing carriers for other work. #Java #Java21
2
18
Virtual thread introduced in Java 21 are super lightweight threads that let you handle thousands (or millions) of tasks without killing server’s performance,threads that don’t cost much to create. Makes building scalable apps so much easier than the old thread pool approach #Java
17
What Are Compact Object Headers? Every Java object you create - String, ArrayList, your custom POJO, literally everything - needs some metadata for the JVM to manage it. This metadata is called the object header, and it sits in memory right before your actual object data.
1
25
The Old Way (Before Java 25) Your object header had two separate parts: 1. Mark Word (8 bytes) - Stores the object's identity hashcode, GC age, lock state (is it synchronized right now?), and other runtime info
1
1
13