Tech- Brew

The best page to pretend you're working
A Blog written by Zanidd
Card image cap

Java Quickie: Cheaper Object Creation

October 6, 2016 by Zanidd

In this quickie you will learn how cheaper object creation works in java and why you should use it. So quick, learn how to!



Creating objects in java is expensive. Expensive meaning it costs a lot of ressources. Not money šŸ˜‰



With lazy initializationĀ  you can optimize the process and thus optimize performance. It might not work under certain conditions, though.

This makes your application launch quicker and is a resource conscious method.


Categories

Newsletter





Search