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

Why does java not support operator overloading?

0 Answers  


Implementations of set interface?

0 Answers  


what is Thread priority?

4 Answers   Tech Mahindra, Wipro,


can two class in a code be public??if yes then how??

2 Answers  


What are heterogeneous objects?

0 Answers  


What is use of a abstract variable?

0 Answers  


Describe OOP in java?

2 Answers   Syntel,


What is size_t?

0 Answers  


Why put method is idempotent?

0 Answers  


What is the purpose of a default constructor?

0 Answers  


What do you mean by a JVM?

0 Answers   GE,


what is the context

2 Answers  


Categories