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
What does .equals do in java?
Can set contain duplicates?
What is the difference between Grid and Gridbaglayout?
How do you convert an int to a string in java?
Describe 2 different ways to concatenate two strings.
What do you mean by pointer value and address?
can I implement my own start() method? : Java thread
What advantage do java's layout managers provide over traditional windowing systems?
What is difference between jdk,jre and jvm?
What is java regex?
Is array synchronized in java?
What is the generic class?
How can we find the actual size of an object on the heap?
What does method mean?
Can a lock be acquired on a class in java programming?