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
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
Are primitives objects?
What is t in generics in java?
What is super in java?
What is the purpose class.forname method?
What are meta-annotations?
Can we nested try statements in java?
What is parsing and its types?
Why hashset is used in java?
How does map works in java?
Is an integer an object?
Can we have a method name same as class name in java?
Why java is a platform independent? Explain
Difference between keyword and identifier.
What is remote method invocation (rmi)?