Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What code optimizations techniques you follow in general
practice?

Answers were Sorted based on User's Feedback



What code optimizations techniques you follow in general practice?..

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

What code optimizations techniques you follow in general practice?..

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

Post New Answer

More Core Java Interview Questions

What is the purpose of skeleton and stub?

0 Answers  


How use .contains in java?

0 Answers  


How to run a JAR file through command prompt?

0 Answers  


What is constructor and virtual function? Can we call a virtual function in a constructor?

0 Answers  


Does collectionutils isempty check for null?

0 Answers  


how to make hashmap object as synchronized object?

2 Answers   BOB Technologies,


how to handle exceptions in core applications?

2 Answers   CSS,


What is the destroy method?

0 Answers  


What is difference between jdk,jre and jvm?

0 Answers  


What is palindrome in java?

0 Answers  


what is method reference in java 8?

0 Answers  


Is singleton set an interval?

0 Answers  


Categories