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

Can we have static methods in an interface?

0 Answers  


How many Java environments are there?

1 Answers   Phantom Technologies,


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

2 Answers   KPIT,


What are the differences between path and classpath variables?

0 Answers  


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

0 Answers  






What is singleton class and how can we make a class singleton?

0 Answers  


Is set sorted in java?

0 Answers  


What is the use of private static?

0 Answers  


in a console we r giving java <class name> if r pressing enter where it'll goes

2 Answers   CSC,


How to use scanner in java?

1 Answers  


A class can be a subclass of itself?

2 Answers   Genesis,


Implement two stacks using a single array.

0 Answers   Global Logic,


Categories