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 classes can any class inherit java?
What is abstraction in java?
Explain the different forms of polymorphism?
What is the advantage of functional interface in java 8?
Can substring create new object?
What are actual parameters?
Explain the selection sort algorithm?
What purpose do the keywords final, finally, and finalize fulfill?
What do you mean by synchronized non access modifier?
What is string in java? String is a data type?
What is a layout manager and what are different types of layout managers available in java awt?
Can you call one constructor from another if a class has multiple constructors?
What is an object's lock and which object's have locks in java programming?
What is difference between length and length() method in java ?
Can we declare an array without size in java?