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 the difference is between execute, execute Query, execute Update?
What is ctrl m character?
What are multiple inheritances? Is it supported by java?
What is oops in java?
What types of index data structures can you have in java?
How do you declare a variable?
Is string pool garbage collected?
What do you mean by mnemonics?
What is the purpose of the enableevents() method in java programming?
Are static members inherited to sub classes?
How hashset works internally in java?
What is formatted output in java?
Does list allow duplicates in java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
Does constructor return any value?