Handle ArithmeticException using Try Catch in Java

Without TryCatch:

Output:

With TryCatch:

Output:

 

Right Click Action using Selenium WebDriver

Code:

Result:

 

 

Handle Javascript Alert using Selenium WebDriver

Code:

Result:

 

Find common elements from two arrays

 

Find Duplicate String using Java program

 

Print Multiplication Table using Java program

 

Reverse the String using Java program

 

Open Notepad using Java program

 

Find highest and second highest numbers

 

Reverse Vowels in a String

 

1 2 3