What code optimizations techniques you follow in general
practice?
Answers were Sorted based on User's Feedback
Answer / meena
1. Elimination repeated sub-expressions.
2. Eliminating the dead- code.
3. Replacing multiplication and division by bit shift operators.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / guest
Using Design Patterns Such as FlyWeight.
Use of static variables when-ever possible
using StringBuffer instead of String coz they are immutable
Using interfaces for reducing coupling
Avoiding creating new objects, reusing existing ones
| Is This Answer Correct ? | 2 Yes | 1 No |
What is the full name of java?
What will happen if we cannot mention "finally" in Java Program ???
how to make the double-tone class ? as we have singletone class..?
Write a program to show whether a graph is a tree or not using adjacency matrix.
What is the purpose of sizeof operator?
What is the difference between char and char *?
What are scalar data types?
What class is used to implement a Throwable array?
Can each java object keep track of all the threads that want to exclusively access it?
Can we extend immutable class?
how to write a server program and sending the mails to the server using smtp protocol please help me
Can a constructor be protected?