PDA

View Full Version : Strings, I/O, Formatting, Parsing


  1. Explain difference between String and StringBuffer ?
  2. Is StringBuffer() method is synchronized ?
  3. What is a String ?
  4. How can we create a String Object ?
  5. How to find a String length and give Example for Palindrome ?
  6. How to Concatenate Strings ?
  7. How to Format Strings ?
  8. How to convert Strings into Numbers ?
  9. How to Convert Numbers to Strings ?
  10. What is the diffrence between equals() method and == operator ?
  11. What are the Diffrence between StringBuffer & StringBuilder ?
  12. How can we Get Characters and Substrings from a String by Index ?
  13. How to Search for Characters and Substrings in a String ?
  14. How to replace Characters and Substrings into a String ?
  15. How to Compare Strings and Portions of Strings ?
  16. What is a String Builder ?
  17. In String Class what is indexOf(String s) ?
  18. How to solve exception while reading Excel file ?
  19. How to find the typical speed of operation between I/O & Arithmetic operations ?
  20. How JVM creats String object
  21. How to create a Immutable class?
  22. How to convert text data to audio file?
  23. How to print duplicate string in given strings?
  24. How to duplicate elements in the sorted array?
  25. How to swap the strings in a order?
  26. Program on strings?
  27. when we go for HashMap and ArrayList in realtime with code snippet especially in web applications