FIND THE SYSTEM DATE AND TIME USING SELENIUM

Output:

 

Find the System Date using Selenium

Output:

 

Java: Remove duplicates in an array

Program

Output

[50, 20, 40, 10, 30]

How to return value using Selenium Webdriver

Program

 

Verify Mobile Number Valid or Invalid

Program:

Valid Mobile Number:

Output:

Valid mobile number

Invalid Mobile Number:

Output:

Invalid mobile number

Verify email address valid or invalid

Program:

Valid Email Address:

Output:

Valid mail id

Invalid Email Address:

Output:

Invalid mail id

 

while loop declaration

Program:

Output:

Loop started

The value of a:–60

The value of a:–61

The value of a:–62

The value of a:–63

The value of a:–64

The value of a:–65

The value of a:–66

The value of a:–67

The value of a:–68

The value of a:–69

The value of a:–70

The value of a:–71

The value of a:–72

The value of a:–73

The value of a:–74

The value of a:–75

The value of a:–76

The value of a:–77

The value of a:–78

The value of a:–79

The value of a:–80

The value of a:–81

The value of a:–82

The value of a:–83

The value of a:–84

The value of a:–85

The value of a:–86

The value of a:–87

The value of a:–88

The value of a:–89

Loop ended

for loop declaration

Program:

Output:

Loop started

The value of a:–1

The value of a:–2

The value of a:–3

The value of a:–4

The value of a:–5

The value of a:–6

The value of a:–7

The value of a:–8

The value of a:–9

The value of a:–10

Loop ended

Local and Global Variable

Program:

Output:

The value of a: —5

The value of num: —50

 

Data Type: float

Program:

Output:

Marks in science: —85.63

Marks in maths: —45.66

The value of a: —45

1 2