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 do you reverse a string in java without using string buffer?

0 Answers  


Explain about map interface in java?

0 Answers  


What are scriptlets?

0 Answers  


is there a separate stack for each thread in java? : Java thread

0 Answers  


what is difference Between Core Java and advance java

60 Answers   HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,






can abstract class have constructor how can you achive this ?

4 Answers   Fidelity,


what is use of functional interface in java 8?

0 Answers  


Can we synchronize static methods in java?

0 Answers  


Which class is used by server applications to obtain a port and listen for client requests?

0 Answers  


What are the three best choices for a development environment?

0 Answers  


what are class,constructor and primitive data types?

2 Answers   IBM,


what is a thread pool in java and why is it used?

0 Answers  


Categories