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

Can a serialized object be transferred via network?

712


What is anagram in java?

718


What is the default value of an object reference declared as an instance variable?

791


what is predefined function in java?

759


What is difference between == equals () and compareto () method?

747


What are different type of exceptions in java?

742


What are different data types?

774


What is meant by polymorphism?

781


What are the basics of core java?

763


What is bifunction in java?

892


What are the new features in java 8?

812


Can we define private and protected modifiers for the members in interfaces?

850


Tell some latest versions in JAVA related areas?

772


how to run ecllipse with jettyserver for windows environment using batch file

1728


What is an array in java?

878