Home > DeveloperSection > Interviews > What are the approaches that you will follow for making a program very efficient?

Posted on    May-21-2011 1:56 AM

 Java Java 
Ratings:
 1 Answer(s)
  763  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Points:2550
Posted on    May-21-2011 12:00 AM

By avoiding too much of static methods avoiding the excessive and unnecessary use of synchronized methods Selection of related classes based on the application (meaning synchronized classes for multiuser and non-synchronized classes for single user) Usage of appropriate design patterns Using cache methodologies for remote invocations Avoiding creation of variables within a loop and lot more.

Don't want to miss updates? Please click the below button!

Follow MindStick