Skip to main content

Top Most Important Java StringPrograms for Testers and Freshers — Crack Your Interview with These Must-Know Coding Questions"

                                                                   String 

Write a Program To Find Duplicates ?

Write a Program To Remove Duplicates ?

Write a Program To Remove Special Characters ?

Write a Program To Count no of Alphabets and Digits E.g  Automation123

Write a Program To Count Each Letter  No of Letters and Digits E.g  Automation123

Count no of Vowels and Constants in a String? E.g Hello world 

Check Given String Palindrome or not ?

Reverse words E.g My name is Hello print "Hello is name my" Reverse Hello and Print 

Write a Program Automation@1234 Find Sum of Digits

Difference Between == and EqualTo() ?

Explain What is use of Trim ? How to Remove Spaces of Starting and Ending ?

Explain Difference of StringBuilder and StringBufferer ?

Concatenate Two String  String s="Hello" and String s1="world" ?

what will output of This Program

class Test {

public static void main(int [] args){

System.out.println("Hello");

}



Comments

Popular posts from this blog

DataGaps Interview Questions -Manual and Automation Testing Latest 2025

How do you Perform Automation Testing Without Browsers ? What is Smoke and Sanity and Regression Testing Explain Assertions ? Write Code for Login page using Xpath ?  What is Exploratory Testing ? Git Commands ? Types of Locaters what is Difference between Before Method and Before Class ? What is An Interface ? What is Difference Between HashMap and LinkedHashMap ?

Capgemini Interview Questions Manual and Automation Testing-1 Latest Interview Questions 2025

 How do you Prioritize the Test Cases ? How do you  Handle Large Data ? what is Smoke Testing  and Sanity? Why We perform ? Explain Bug Life Cycle ? What is Entry and Exit Criteria ? Write a Program To Remove Duplicates in a String  What is Test Scenario ? What is Product Backlog and Sprint Backlog ? Which Prints First Priority=0, Priority= -1 and Priority =1  Find Element using XPath Rank of Player on CrickBuzz ? What is Refinement Meeting ?

Top Most Important Java Interview Programs Array Programs for Testers and Freshers — Crack Your Interview with These Must-Know Coding Questions"

                                                                      Arrays Combined Two Arrays in one  Arr1[]={23,45,67,89,3}, Arr2[]={65,21,43,90,32};  Write a Program To Remove Duplicates  Arr1[]={78,43,22,34,12,43}? Write a Program To Find Duplicates Arr []=  {78,43,22,34,12,43} ? Find the smallest and Largest elements in Array Arr[]={23,45,78,90,21,12,3}; Find the 2 smallest element in Array  Arr[]={23,45,78,90,21,12,3}; Find the 2 largest Element in Array Arr[]={23,45,78,90,21,12,3}; Reverse an Array Arr[]={23,45,78,90,21,12,3}; Write a Program to Sort an to ascending order Arr[]={23,45,78,90,21,12,3}; Write a Program to Sort an to Descending order Arr[]={23,45,78,90,21,12,3}; Find the missing number in Array Arr[]={1,2,3,5,6,7}; Write a Program to print most repeated value in Array...