Core Java

Hashmap Internal Implementation Analysis in Java: Full detailed analysis of java.util.HashMap’s implementation and its internals and working concepts

Creating our own hashmap in java: This is an attempt to come up with my own hashmap in java. It serves all basic needs of original java.util.HashMap with O(1) complexity in read operations…

When to use ArrayList and LinkedList in java: These two data structures(DS) operate exactly opposite in terms of read and write operations…

how does polymorphism works within the constructors: First of all it is not good practice to call any instance methods inside the constructor, if we cannot avoid then do as little as possible. What happens…

How does DriverManager identify the type of driver loaded into JVM: who will instantiate the class that is loaded and who will register that class with DM? It is done through the static block of …

Different ways of getting a new object in Java: Using new operator; using Class.forName(“”); Using clone method; Deserialization…

Can we propagate exceptions in threads?: Prior to Java1.5 we cannot because the run() method in Runnable interface is written such that there is no…

Why would one need try-finally block combination: If we dont wanna handle the exception and instead propogate it up the hierarchy then we go for try-finally combination

The Internal Architecture of JVM: Java Virtual Machine components are depicted in below diagram. Each time we run java_application/java_class, an instance of JVM gets created…

Security aspects of standalone utilities in java: Security aspects of java application development: make sure the utility does not accept any file input that can be used in edit (write) mode, this way…

Immutable Objects and Strings in Java: Why are Strings made immutable? Security Reasons: as strings are used in class loaders, if it is made mutable it could lead to a potential security threat…

Serialization Mechanism: Serialization is a mechanism by which you can save the state of an object by converting it to a byte stream.The class whose instances are to be serialized should implement an interface Serializable…

Analysing Java Garbage Collector: Application Phases: Initialization → Steady state → Summary (optional); – Initialization: startup, lots of allocations…

Internals of Java Garbage Collector GC Responsibilities-Garbage Detection: Garbage are objects that are no longer reachable – Garbage Reclamation:Make space available to the running program again

Garbage collector tuning in JAVA HOTSPOT JVM: Garbage collector tuning in JAVA HOTSPOT JVM: GC Basics; Analysing GC; Memory Footprint; Latencies; Types of Collectors; Summary

password policy with regular expression: Password policy to match minimum 8 characters password with alphabets in combination with numbers or special characters

New Changes in JDK7: JDK7 is packaged with these new changes – Small language changes – NIO-2 Enhanced NIO – invokedynamic – other features


2 Responses to Core Java

  1. click here says:

    nice post giving us a lot of information.

  2. Ranganath says:

    Can you please enter some important questions on String Class.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


Mostly technology with occasional sprinkling of other random thoughts


Amir Amintabar's personal page

101 Books

Reading my way through Time Magazine's 100 Greatest Novels since 1923 (plus Ulysses)

Seek, Plunnge and more...

My words, my world...

ARRM Foundation

Do not wait for leaders; do it alone, person to person - Mother Teresa

Executive Management

An unexamined life is not worth living – Socrates

Diabolical or Smart

Nitwit, Blubber, Oddment, Tweak !!


A topnotch site


Just another site

coding algorithms

"An approximate answer to the right problem is worth a good deal more than an exact answer to an approximate problem." -- John Tukey