:: Home Page            
 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                      
Categories >> Software >> Java Related >> Java J2EE >> Core Java


 Core Java interview questions  Core Java Interview Questions (1722)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (147)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
which class to use when concatenating
   strings in a loop.
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
# 1
Is This Answer Correct ?    7 Yes 0 No
# 2
string buffer and string builder classes are used to
concatenate the two or more strings in a loop.
Is This Answer Correct ?    1 Yes 0 No
# 3
we any use the both classes String and StringBuffer.
but if we use StringBuffer it would be advatagebecase we
are going to create only one Object.if we use the String
class it is going to create the one for each
it up to you which one to use
Is This Answer Correct ?    4 Yes 4 No

Other Core Java Interview Questions
  Question Asked @ Answers
In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?   5
Iterator in the HashMap is fail-safe means what? IBM 9
What is meant by controls and types?   1
Difference between a Scrollbar and a ScrollPane?   1
what is the purpose of class "Object" which is base class for all classes?   3
1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread? TCS 3
what is a static block?   4
can we declare private class in java file?   13
I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do? KPIT 3
what is java bean?where can we use it? TCS 12
what is multi-tasking Tech-Mahindra 3
In the HashMap, we know the values but we dont know the key, then how can we get the key from HashMap ????? Kanbay 4
For more Core Java Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::