Articles

Top 13 Quotes for Java Developers

by Srinivasulu Manineni Architect

Quote 1: Avoid creating unnecessary objects and always prefer to do Lazy Initialization

Object creation in Java is one of the most expensive operation in terms of memory utilization and performance impact. It is thus advisable to create or initialize an object only when it is required in the code.
?
01
02
03
04
05
06
07
08
09
10
11
12
13
public class Countries {
    private List countries;
    public List getCountries() {
        //initialize only when required

About Srinivasulu Manineni Freshman   Architect

10 connections, 0 recommendations, 31 honor points.
Joined APSense since, December 24th, 2011, From Delhi, India.

Created on Dec 31st 1969 19:00. Viewed 0 times.

Comments

No comment, be the first to comment.
Please sign in before you comment.

Recommended Reading?

Sponsored

Ready To Live Your Dream Lifestyle
Video Does Most of the Work for You So, you will never have to personally try to make sales or explain things to other people. Remember, Everything has been set up and worked out for you.

Ready To Live Your Dream Lifestyle
Video Does Most of the Work for You So, you will never have to personally try to make sales or explain things to other people. Remember, Everything has been set up and worked out for you.

Ready To Live Your Dream Lifestyle
Video Does Most of the Work for You So, you will never have to personally try to make sales or explain things to other people. Remember, Everything has been set up and worked out for you.

Tags Links


More Articles


Similar Articles