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
Explain the private field modifier?
What is a consumer in java?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
what is heap memory?
What is meant by call by reference?
What is the difference between a choice and a list?
What is a flag value?
When would you use a static class?
Can a method be static?
Why do we override tostring method in java?
What do you mean by static variable?
Define jre i.e. Java runtime environment?
What is difference between path and classpath?
What is the point of polymorphism java?
How can you make a class serializable in java?