Class Loaders in Java

  1. Some of the classes in application are getting used for a finite period of time. By using custom class loaders, we can unload these classes after use. In this way it helps in better memory management.
  2. Classes can be loaded from anywhere.
    For example: Databases, Networks, or even the source can be defined on the fly.
  • Fully qualified name of the loaded class and its immediate parent class.
  • Whether .class file is originated from Class or Interface or Enum
  • Modifiers, Variables and Method information etc.

How Class loader works in Java?

Helpful links:




Software Engineer. Avid Learner.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

LeetCode 練習Reverse Words in a String III

GitHub Collaboration Beginners Cheat sheet

#Applications #WorkSpace #Private #Citrix #Wrike #VMware #Oracle

Road To AWS SAA: EC2, Elastic Compute Cloud

Herding Config: How we learned to manage the unmanageable

Cycle Sort Problems

Benchmarking avro and fastavro using pytest-benchmark, tox and matplotlib

My Scrum’s not working… buuuhuuu!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Monali Shinde

Monali Shinde

Software Engineer. Avid Learner.

More from Medium

Fundamentals of Java

Java Collections: Why you should use Iterator interface?


Learning Java Fundamentals: “Hello World”