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 are methods?
How will you communicate between two applets?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What are peerless components?
What are packages in java?
Difference between class#getinstance() and new operator ?
What is unicode full form?
What is the difference between comparison done by equals method and == operator?
Can we sort array in java?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is the difference between preparedstatement and statement in java?
How do you find the absolute value?
What is static import?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What is string pooling concept?