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 is the difference between compile-time polymorphism and runtime polymorphism?
What is == mean?
How many types of classes are there in java?
Explain the scope of a variable.
How do you reverse a word in java?
Which class should you use to obtain design information about an object in java programming?
What is the use of flag?
Which package is used for pattern matching with regular expressions?
State two differences between C and Java.
How big is a gigabyte?
What is hotjava?
What is the main use of java?
Explain try and catch keywords in java?
What is pojo class in java?
What are void methods?