What code optimizations techniques you follow in general
practice?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I uninstall java?

550


Which is faster string or stringbuilder?

515


Where are global variables stored?

506


Does java linked list allow duplicates?

550


What are the different types of garbage collectors in java?

543






Is ++ operator thread-safe in java?

630


Why can't we make a class private in java?

536


What is a Hash Table? What are the advantages of using a hash table?

603


What is a “stateless” protocol ?

551


How much is a java license?

521


Which is the class in java?

514


What do you mean by static variable?

569


Can a class have multiple constructors?

531


What is the use of join method?

573


What are the parts of a method?

533