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 an abstract class and abstract method?

5 Answers  


why java is platform independent?

5 Answers   IBM, SparkTG,


Is 0 true or false?

0 Answers  


what do you mean by classloader in java?

0 Answers  


What do you understand by an io stream?

0 Answers  


What is sorting algorithm in java?

0 Answers  


Name few "optional" classes introduced with java 8 ?

0 Answers  


Explain access specifiers?

0 Answers   Thomson Reuters, Virtusa,


Can an integer be null java?

0 Answers  


What are parsing rules?

0 Answers  


What is meant by serialisation and deserialisation?

4 Answers  


How do you add spaces in java?

0 Answers  


Categories