If you are reviewing the code of your team members, what
points will you look at, assuming the performance of the
application is not so great
Answer Posted / debasish
To boost performance:
1) Use trim() meaningfully.
2) Operation on String Object should be on check.
3) Network calls should be put on check.
4) Keep a look on loops.
5) Use static methods for utility purposes. Like Math class.
6) Use logging only for important tasks.
Thanks.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Define jit compiler?
What is instance example?
How do you pass by reference?
What is static class
How to create a fecelet view?
What are the four pillars of java?
What comes to mind when someone mentions a shallow copy in java?
When is the finalize() called?
What is constructor and virtual function? Can we call a virtual function in a constructor?
Can we declare register variable as global?
How can we run a java program without making any object?
Which collection allows duplicate values in java?
Explain parallel processing in java8?
What’s a deadlock?
What do you mean by append?