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

Is treeset sorted in java?

584


What is printwriter in java?

520


What is numeric function?

542


Who is founder of java?

532


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

698






How do I know if java is installed?

520


Can an unreferenced object be referenced again?

767


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2374


What is unsigned char?

625


What is mnemonic in assembly language?

555


What language is java written?

538


Tell us something about an iterator.

550


What are user defined exceptions?

590


What is visibility mode?

533


What is floor in java?

562