ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
If you are reviewing the code of your team members, what
points will you look at, assuming the performance of the
application is not so great
 Question Submitted By :: Maria
I also faced this Question!!     Rank Answer Posted By  
 
  Re: If you are reviewing the code of your team members, what points will you look at, assuming the performance of the application is not so great
Answer
# 1
UNNECASARY OB JECT CREATION shud b avoided..REUSABILITY OF
CODE SHUD B THER.network calls shud be less..beter to use
connection pooling.gud exceptional handling.
 
Is This Answer Correct ?    7 Yes 0 No
Sandhya
 
  Re: If you are reviewing the code of your team members, what points will you look at, assuming the performance of the application is not so great
Answer
# 2
To boost performance:
1) Use trim() meaningfully.
2) Operation on String Object should be on check.
3) Network calls should be put on check.
4) Keep a look on loops.
5) Use static methods for utility purposes. Like Math class.
6) Use logging only for important tasks.

Thanks.
 
Is This Answer Correct ?    0 Yes 0 No
Debasish
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what release of java technology are currently available what do they contain?  1
Explain pass by reference and pass by value? Wipro5
which swing component is similar to rich text box in .net/vb  1
Can u write constructor in abstract.If yes den when it will be invoked. SunGard3
whats is inheritance? HCL14
What is Locale class? MySoft1
What happens if an exception is not caught?  4
they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } } DNS1
Is java supports multiple inheritance? explain? Inforica11
How to synchonise HashMap IBM3
real time example for deadlock,starvation,livelock  4
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;  1
What classes of exceptions, caught by a catch clause?  1
Is it possible to write static method in abstract class? justyfy your answer? Hexaware3
How java is platform independent? TCS14
What is non static block in java Ness-Technologies6
What is numeric promotion?  1
WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS?  4
What do u mean by wrapper Class? What do u mean by Jvm... How do u change JVM for other OS? Or No need to Change ...? its like tricky EDS5
How to sort the elements in HashMap Ness-Technologies3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com