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 is the difference between compile-time polymorphism and runtime polymorphism?

766


What is == mean?

739


How many types of classes are there in java?

767


Explain the scope of a variable.

838


How do you reverse a word in java?

735


Which class should you use to obtain design information about an object in java programming?

855


What is the use of flag?

821


Which package is used for pattern matching with regular expressions?

837


State two differences between C and Java.

931


How big is a gigabyte?

815


What is hotjava?

731


What is the main use of java?

815


Explain try and catch keywords in java?

853


What is pojo class in java?

715


What are void methods?

785