What code optimizations techniques you follow in general
practice?
Answer Posted / 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 |
Post New Answer View All Answers
Can we convert list to set in java?
How do you use compareto method?
What is meant by data hiding/encapsulation?
What is a flag variable?
Is list ordered in java?
What is array length in java?
How does compareto work in java?
What are strings in physics?
How many types of memory areas are allocated by JVM in java?
How to sort elements in a parallel array in java?
What is a conditional equation?
Is jdk required on each machine to run a java program?
What is classes in java?
Can you achieve runtime polymorphism by data members?
What is the purpose of the strictfp keyword?