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
How to do encapsulation in java?
Explain the importance of join() method in thread class?
define the terminology association.
Which is illegal identifier in java?
Differentiate jar and war files?
What is array command?
What is an accessor?
when you will synchronize a piece of your code? : Java thread
Variables used in a switch statement can be used with which datatypes?
What is default size of arraylist in java?
What is singletonlist in java?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
Explain the difference between arraylist and linkedlist in java?
How many decimal digits is 64 bit?
What is an object class?