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
Which collection is ordered in java?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
How do you pass by reference?
how is final different from finally and finalize in java?
What is run time allocation?
Explain the difference between association, aggregation and inheritance relationships.
What is unsigned char?
Difference between == and .equals() ?
What is isa relationship?
Why do we use string?
When do we use synchronized blocks and advantages of using synchronized blocks?
What is arraylist class in java?
What is string args [] in java?
Is cout buffered?
Define linked list and its features with signature?