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



If you are reviewing the code of your team members, what points will you look at, assuming the perf..

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

If you are reviewing the code of your team members, what points will you look at, assuming the perf..

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

Post New Answer

More Core Java Interview Questions

How to change the priority of thread or how to set the priority of thread?

0 Answers  


Explain the difference between string, stringbuffer and stringbuilder in java?

0 Answers  


What is the advantage of preparedstatement over statement?

0 Answers  


Write a java program for binary search?

0 Answers  


Where import statement is used in a java program?

0 Answers  


Which are thin and thicK wrapper Class's in Java?

1 Answers  


What is methods and methodology?

0 Answers  


can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}

4 Answers  


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


Explain Public static void main?

2 Answers   IBM, Vetech,


Is string is a data type?

0 Answers  


Can we have multiple classes in a single file?

0 Answers  


Categories