logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is different among String, StringBuffer, StringBuilder?


  • Correct Answer
  • String class objects are immutable objects and they represents strings( sequence of characters) StringBuffer class objects are mutable objects representing strings and they are Thread safe StringBuild class objects are also mutable objects representing strings and they are not Thread safe 


  • Technology problems


    Search Results


    • 1. How to call argument constructor?
    • Discuss
    • 2. What is Constructor?
    • Discuss
    • 3. What is difference between methods and blocks?
    • Discuss
    • 4. In a class if private data member is declared then how to get value of that data member?
    • Discuss
    • 5. In a class if private data member is declared then how to set data to that private data member?
    • Discuss
    • 6. What is wrapping?
    • Discuss
    • 7. What is unwrapping?
    • Discuss
    • 8. What is JAR file? what are the main uses of JAR files?
    • Discuss
    • 9. What is the difference between path and classpath?
    • Discuss
    • 10. What is the use of super call?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment