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
Answers were Sorted based on User's Feedback
Answer / sandhya
UNNECASARY OB JECT CREATION shud b avoided..REUSABILITY OF
CODE SHUD B THER.network calls shud be less..beter to use
connection pooling.gud exceptional handling.
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / 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 |
Write java code to print "Hello how are you" Thread1 should have "Hello" Thread2 should have "how are you" both the threads should start at the same time
What is the difference between a switch statement and an if statement?
What is yield () in java?
What is string in java with example?
what is the difference between HashMap and Hashtable
17 Answers Value Labs, Virtusa,
What defines function?
Why we cannot override static method?
What is the difference between && and & in java?
What will happen if we cannot mention "finally" in Java Program ???
What is map and hashmap? also tell the difference.
What is thread safe in java?
What is the purpose of the system class in java?