Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If your team member writes code with lots of static
variables and static methods, will it cause any side effects?

Answer Posted / abhinav

If the code is small, then there wont be any significant
problems, but if the program is huge, then it can severly
hamper the program performance. use of static
variables/methods are one of the biggest reasons for memory
leaks

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is the marker interface used in Java?

1035


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

975


What is http client in java?

1021


What is the meaning of immutable regarding string?

909


Can we override the private methods?

938


What are loops in java?

1156


What is the differences between heap and stack memory in java? Explain

924


What is the use of private static?

1000


How many bytes is a url?

932


Why java strings are immutable in nature?

976


List some oops concepts in java?

978


What is an example of character?

1055


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

980


Explain the difference between jvm and jre?

974


What is method in java ?

1013