Blog Archives

01: jvisualvm tutorial to sample Java heap memory

Java does not have a sizeof operator like C++ does. Java uses automatic memory management known as the Garbage Collection, hence …

Read more ›



02: jvisualvm to detect memory leak – a quick tutorial style Java demo

This is a companion post to 8 Java Memory Management Interview Q&A demonstrating a memory leak scenario step by step with … … Read more ›...



04: Java primitives & objects memory consumption

Q1. How much memory space does a primitive type int occupy in Java? A1. 4 bytes. Q2. Java … … Read more ›...



06: 10+ Atomicity, Visibility, and Ordering interview Q&A in Java multi-threading

Q1. Why is it important to understand the difference between the “JVM memory model” and the computer “hardware memory … … Read more ›...



3 Java class loading interview Q&As

Q1. What do you know about Java class loading? Explain Java class loaders?
A1. Class loaders are hierarchical. Classes are introduced …

Read more ›



5 JMX and MBean interview questions & answers

Q1. What is a JMX? What are the key components of JMX? A1. JMX stands for Java M… … Read more ›...



9 Java Garbage Collection interview questions & answers

Java Garbage Collection interview questions & answers to ascertain your depth of Java knowledge in building industry strength Java applications. Determining … … Read more ›...



Java & Big Data Categories

Top