Frequently asked Java String Programming Interview questions

In this article, we discuss 20 frequently asked String programming interview questions in Java.

Interview questions topjavatutorial

Here are the Frequently asked String programming interview questions :

 

  1. Find all character permutations of a String in Java. (Solution)
  2.  

  3. Java program to check if two strings are anagrams (Solution)
  4.  

  5. How to check if a String is a Palindrome in Java ? (Solution)
  6.  

  7. Different methods of String concatenation in java (Solution)
  8.  

  9. How to reverse a string in Java ? (Solution)
  10.  

  11. Different ways to split a string in Java : (Solution)
  12.  

  13. How to count frequency of each character in a String in Java ? (Solution)
  14.  

  15. How to reverse each word of a String in Java ? (Solution)
  16.  

  17. How to replace all spaces in a string with ‘%20’ in Java ? (Solution)
  18.  

  19. How to find all possible sub-strings in a String in Java ? (Solution)
  20.  

  21. Java program to reverse a String using recursion (Solution)
  22.  

  23. Java program to calculate length of a String using recursion (Solution)
  24.  

  25. Java algorithm to search for a substring in a String (Solution)
  26.  

  27. How to check if a string has matching pair of parentheses or not ? (Solution)
  28.  

  29. Java program to determine if a string has all unique characters or not (Solution)
  30.  

  31. How to convert a String to int in Java ? (Solution)
  32.  

  33. Java program to determine if a string has all unique characters or not (Solution)
  34.  

  35. Java program to find duplicate characters in a string (Solution)
  36.  

  37. Java program to check whether one string is a rotation of another (Solution)
  38.  

  39. Java program to find longest substring without repeating characters in the given string (Solution)

 

You may also like :

Frequently asked Programming Interview Questions on Numbers

Top 10 Coding Interview Questions on Recursion

Java Coding Interview Questions – Part 1

Java Coding Interview Questions – Part 2

Java Coding Interview Questions – Part 3

Java Coding Interview Questions – Part 4

Java Coding Interview Questions – Part 5

Java Coding Interview Questions – Part 6

 

© 2016 – 2018, https:. All rights reserved. On republishing this post, you must provide link to original post

3 comments

  1. […] Commonly asked String Coding Interview Questions […]

  2. […] 20 Java String Coding Interview Questions   […]

  3. […] Frequently asked Coding Interview Questions on Strings […]

Leave a Reply.. code can be added in <code> </code> tags

%d bloggers like this: