EPAM Systems Interview Question

Code to find character count in a given string.

Interview Answers

Anonymous

Apr 11, 2020

Please give more input about this interview

Anonymous

Apr 12, 2020

Please if you see the comment please give more input about this interview

Anonymous

Feb 28, 2021

In these sorts of interviews you really need to drill down and understand what the interviewer is looking for. A good way to simulate a real interview experience is to do a mock with one of the EPAM Systems Senior Test Automation Engineer experts on Prepfully, rated super strongly on TrustPilot... prepfully.com/practice-interviews

Anonymous

Jan 23, 2022

use inbuilt methods str1 = "Automation"; return str1.length - str1.replaceAll("a","").length

Anonymous

Oct 2, 2020

String string = "W1ORD"; int count = 0; // Counts each character except space for (int i = 0; i = 'a' && c <= 'z') { count++; } } // Displays the total number of characters present in the given string System.out.println("Total number of characters in a string: " + count);

1

Anonymous

Oct 2, 2020

String string = "W1ORD"; int count = 0; // Counts each character except space for (int i = 0; i = 'a' && c <= 'z') { count++; } } // Displays the total number of characters present in the given string System.out.println("Total number of characters in a string: " + count);

Anonymous

Dec 15, 2020

String str = "fd5A5fd5ff4sDSF5SDF."; int count = 0; int digitCount = 0; for(int i=0;i

1