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


Please Help Members By Posting Answers For Below Questions

What does .equals do in java?

524


Can set contain duplicates?

538


What is the difference between Grid and Gridbaglayout?

576


How do you convert an int to a string in java?

534


Describe 2 different ways to concatenate two strings.

672






What do you mean by pointer value and address?

571


can I implement my own start() method? : Java thread

546


What advantage do java's layout managers provide over traditional windowing systems?

539


What is difference between jdk,jre and jvm?

557


What is java regex?

528


Is array synchronized in java?

548


What is the generic class?

525


How can we find the actual size of an object on the heap?

798


What does method mean?

506


Can a lock be acquired on a class in java programming?

529