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 |
Realized?
Difference between stack and queue?
What is variable in java?
What is jvm? Why is java called the platform independent programming language?
Enlist diffrent types of inheritance supported by java?
What kind of variables can a class consist?
Explain java coding standards for methods?
How do you check if a character in a string is a digit or letter?
What is the effect of keeping a constructor private?
What are voids?
why java does not support unsigned keyword?
Why are inner classes required?