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

Why parsing is done?

511


What is primitive data type in java?

545


what is the final keyword denotes in java?

592


Can a class extend more than one class?

618


What is a void method?

525






What is constant in programming?

560


Where is singleton pattern used?

532


What is string english?

547


When the constructor of a class is invoked?

597


What is the use of singleton?

516


who can i handle multiple client in RMI

1444


Can we restart a thread already started in java?

584


What is the difference between a loader and a compiler?

532


Is there any difference between synchronized methods and synchronized statements?

586


What are the procedures?

610