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 |
What's the base class in java from which all classes are derived?
In case of inheritance what is the execution order of constructor and destructor?
Is null keyword in java?
What does the three dot emoji mean?
Mention a package that is used for linked list class in java.
Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.
What are synchronized methods ?
How many java versions are there?
y cant i declare method like public final static show()
How many classes can any class inherit java?
What is java objectoutputstream?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?