/*Print UppperCase & LowerCase Letter Separatly from user provided String*/ import java.util.*;
public class Main
{
public static void main(String[] args)
{
int count = 0;
Scanner scn = new Scanner(System.in);
System.out.print("Enter a string: ");
String str = scn.nextLine();
System.out.println("Upper case characters: ");
for (int i = 0; i< str.length(); i++ )
{
if (Character.isUpperCase(str.charAt(i)))
{
System.out.print(str.charAt(i)+", ");
}
}
System.out.println("\nLower case characters: ");
for (int i = 0; i< str.length(); i++ )
{
if (Character.isLowerCase(str.charAt(i)))
{
System.out.print(str.charAt(i)+", ");
}
}
}
for More Join:https://t.me/codinganywhere
👍7
Which modifier can't be used for constructor
Final Results
17%
public
32%
private
30%
static
21%
protected
👍2
What is used to run automation scripts on multiple system simultaneously.
Final Results
31%
Selenium webdriver
5%
Selenium RC
57%
Selenium Grid
5%
Selenium IDE
2%
Selenium Core
👍1
Channel name was changed to «Java Selenium Testing Interview Questions 【CodingAnywhere】»
Java Selenium Testing Interview Questions 【CodingAnywhere】 pinned «What is used to run automation scripts on multiple system simultaneously.»
Java Selenium Testing Interview Questions 【CodingAnywhere】 pinned «/*Print UppperCase & LowerCase Letter Separatly from user provided String*/ import java.util.*; public class Main { public static void main(String[] args) { int count = 0; Scanner…»
Java Selenium Testing Interview Questions 【CodingAnywhere】
What type of test case to be automated?
Correct Answers: Data driven test cases,higher complexity tests, smoke tests,TC with many databases updates.
👍1
Select supermost interface present in selenium webdriver?
Anonymous Poll
42%
Webdriver
18%
Chormedriver
38%
SearchContext
2%
Screenshot
👍12🤔4
Is delete, next, main, exit or null keyword in java?
Final Results
43%
Yes
57%
No
👍1