0% found this document useful (0 votes)
5 views46 pages

Java Variable Declaration and Usage

The document contains multiple Java classes demonstrating various programming concepts such as variable declaration, initialization, constructors, control statements (if, switch), loops (for, nested for), and user input handling. Each class includes a main method that executes specific functionalities, showcasing how to work with instance variables, static variables, and different types of loops. Additionally, it illustrates how to create patterns using nested loops and handle user input through the Scanner class.

Uploaded by

priyanka
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views46 pages

Java Variable Declaration and Usage

The document contains multiple Java classes demonstrating various programming concepts such as variable declaration, initialization, constructors, control statements (if, switch), loops (for, nested for), and user input handling. Each class includes a main method that executes specific functionalities, showcasing how to work with instance variables, static variables, and different types of loops. Additionally, it illustrates how to create patterns using nested loops and handle user input through the Scanner class.

Uploaded by

priyanka
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

30/12

public class VariableDeclaration {

// Given Steps

// 1. Declaration

int engMarks;
int mathMark;
int chemMarks;

// 2. Initialization

public void aarti() {


engMarks = 75;
mathMark = 75;
chemMarks = 45;
[Link]("English Marks = "+ engMarks);
[Link]("Math Marks = " + mathMark);
[Link]("Chemestry Marks = " + chemMarks);

public void digambar() {


engMarks = 95;
mathMark = 150;
chemMarks = 99;

[Link]("English Marks = "+ engMarks);


[Link]("Math Marks = " + mathMark);
[Link]("Chemestry Marks = " + chemMarks);
}

public void sayali() {


engMarks = 99;
mathMark = 149;
chemMarks = 100;
[Link]("English Marks = "+ engMarks);
[Link]("Math Marks = " + mathMark);
[Link]("Chemestry Marks = " + chemMarks);
}

//3. Usage
public static void main(String[] args) {
VariableDeclaration vd = new VariableDeclaration();
[Link]("Marks of Aarti are given below");
[Link]();
[Link]("Marks of Digamber are given below");
[Link]();
[Link]("Marks of Sayali are given below");
[Link]();
}
}
public class StaticVariable {

// 3. Static Variable

static int salary = 50000;


static double yearlyincome = 1000000;

public static void neelam() {


[Link](salary);
[Link](yearlyincome);
}

public void sneha() {


[Link](salary);

public static void main(String[] args) {

neelam();
StaticVariable f = new StaticVariable();
[Link]();
}
}
public class ConstOne {

String name;
int t ;
// Declaration Of Constructor and Initialization
ConstOne(){
name = "Datta";
t = 143;
[Link](name);
[Link](t);
short s = 67;
[Link](s);
}
public static void main(String[] args) {

new ConstOne();

}
}
public class ConstDefault {

public static void main(String[] args) {


float mark = 35.56f;
[Link](mark);
singer();

}
public static void singer() {
[Link]("I like Guru Randhva");
}
}
public class Global_Instance_Variable {

//2. Global/Instance Variable

short s = 45;

public static void main(String[] args) {

Global_Instance_Variable f = new Global_Instance_Variable();


[Link]();
}

public static void babuji() {

public void Bhabiji(){


[Link](s);
}
}
public class TypesOfVariables {

public static void main(String[] args) {

int c = 987;
one();
TypesOfVariables v = new TypesOfVariables();
[Link]();
[Link](c);
}

// 1. Local Variable
public static void one() {
int a = 143;
[Link](a);
}

public void two() {


int a = 123;
[Link](a);
}
}
public class VariableDeclaration {

// Given Steps

// 1. Declaration

int engMarks;
int mathMark;
int chemMarks;

// 2. Initialization

public void aarti() {


engMarks = 75;
mathMark = 75;
chemMarks = 45;
[Link]("English Marks = "+ engMarks);
[Link]("Math Marks = " + mathMark);
[Link]("Chemestry Marks = " + chemMarks);

public void digambar() {


engMarks = 95;
mathMark = 150;
chemMarks = 99;

[Link]("English Marks = "+ engMarks);


[Link]("Math Marks = " + mathMark);
[Link]("Chemestry Marks = " + chemMarks);
}

public void sayali() {


engMarks = 99;
mathMark = 149;
chemMarks = 100;
[Link]("English Marks = "+ engMarks);
[Link]("Math Marks = " + mathMark);
[Link]("Chemestry Marks = " + chemMarks);
}

//3. Usage
public static void main(String[] args) {
VariableDeclaration vd = new VariableDeclaration();
[Link]("Marks of Aarti are given below");
[Link]();
[Link]("Marks of Digamber are given below");
[Link]();
[Link]("Marks of Sayali are given below");
[Link]();
}
}
public class Variables {

public static void main(String[] args) {

String s = "34.99 ";


String x = " 33.33";
[Link](s + "%" + x + "%");

boolean t = false;
[Link](t);

byte a = 127;
[Link](a);

short b = 32767;
[Link](b);

int i = 2147483647;
[Link](i);

long l = 2147483642677777777l;
[Link](l);

float f = 34.098f;
[Link](f);

double d = 999.9990099999999999867675;
[Link](d);

char A = '%';
[Link](f);
[Link](A);
[Link](a);
[Link]("Bas zal Sir Dokyachya War chalay");
}
}
1/4/21
public class ConstThisWithArgument {

// This Keyword

int a = 10;
public void test() {
int a = 10;
[Link](a);// 20
[Link](this.a);// 10
}

public static void main(String[] args) {

ConstThisWithArgument v = new ConstThisWithArgument();


[Link]();
}
}
public class EmployeeKeywordThis {

// Declaration
int empID;
String empName;
// Initialization
EmployeeKeywordThis(){
empID = 178;
empName = "Swati";
}
EmployeeKeywordThis(int id, String name){

empID = id;// 786


empName = name;// Aarchna
}
// Usage
public void information() {
[Link]("ID: " +empID+ " Canditate Name: "+empName);
}

public static void main(String[] args) {

EmployeeKeywordThis g = new EmployeeKeywordThis();


[Link]();

EmployeeKeywordThis t = new EmployeeKeywordThis(786, "Aarchna");


[Link]([Link]);
[Link]([Link]);
}

}
5/1/21
public class CallingVariable {

//
int a = 20;

int b = 30;
public void Aone(int c, int d) {

// this.a = c;
// this.b = d;
// a = c;
// b = d;
c = a;
d = b;
[Link](c);
[Link](d);
[Link](a);
[Link](b);
}
public void Aone() {
[Link]();
[Link]();
}
public static void main(String[] args) {
CallingVariable d = new CallingVariable();
[Link](5,5);
[Link]();
}
}
public class Employee1 {
// Declaration
int empId;
String empName;

// Initilization
Employee1(){
empId = 178;
empName = "Swati";
}

// Parameterized Const
Employee1(int id, String name){
[Link] = id;
[Link] = name;
}

//Usage
public void information() {
[Link]("ID: " +empId+ " Candidate Name: " +empName);
}

public static void main(String[] args) {


Employee1 t = new Employee1();
[Link]();

Employee1 y = new Employee1(786, "Neha" );


[Link]([Link]);
[Link]([Link]);

Employee1 u = new Employee1(199, "Pooja" );


[Link]([Link]);
[Link]([Link]);

}
13/1/21
public class SwitchStatement {

public static void main(String[] args) {


// 6. Std. Syntax of Switch Statement
// Switch ( Variable or an integer Expression)
// {
// case constant : // Java Code; break;
// case constant : // Java Code; break;
// case constant : // Java Code; break;
// case constant : // Java Code; break;
// case constant : // Java Code; break;
// default : // Java Code;
int day = 3;
switch(day) {
case 1: [Link]("Today is Monday"); break;
case 2: [Link]("Today is Tuesday"); break;
case 3: [Link]("Today is Wednesday"); break;
case 4: [Link]("Today is Thursday"); break;
case 5: [Link]("Today is Friday"); break;
case 6: [Link]("Today is Saturday"); break;
case 7: [Link]("Today is Sunday"); break;
default : [Link]("Wrong day"); break;
}
stringswitch();
}

public static void stringswitch() {


String s = "Two";
switch(s) {
case "One": [Link]("Today is Monday"); break;
case "Two": [Link]("Today is Tuesday"); break;
case "Three": [Link]("Today is Wednesday"); break;
case "Four": [Link]("Today is Thursday"); break;
case "Five": [Link]("Today is Friday"); break;
case "Six": [Link]("Today is Saturday"); break;
case "Seven": [Link]("Today is Sunday"); break;
default : [Link]("Wrong day"); break;
}
}
}
public class IfStatement {
public static void main(String[] args) {
// Standard Syntax for If Statement
// if (Condition) {
// statement(s);
// }
int no = 1;
//if no is greater than zero then print Positive number if not then print negative

if (no >0) {
[Link]("Number is positive");
}
IfStatement b = new IfStatement();
b.condition2();
b.condition3();
}
public void condition2() {
int a = -5;
if (a>0 && a<0) {
[Link]("User Entered Negative Number");
}
[Link]("You Have Entenered Wrong Number");
}

public void condition3() {


int a = 10;
if (a>0 & a<=10) {
[Link]("User Entered Positive Number");
}
[Link]("You Have Entenered Wrong Number");
}
}
public class IfElseStatment {

public static void main(String[] args) {

// 2. Standard Syntax for If Else Statement


// if (Condition) {
// statement(s);
// }
// else {
// statement(s);
// }

int marks = 34;

if (marks >=35) {
[Link]("Digu is Pass");
}
else {
[Link]("Digu is Fail");
}

[Link]("Digu Khush Hua");


}

}
public class NestedIf {

public static void main(String[] args) {

// 3. Standard Syntax for Nested If Else Statement


// if (Condition1) {
// statement(s);
// if (Condition2) {
// statement(s);
// }
// }

int c = 60;

if (c<100) {
[Link](" Number is less than Hundred");
if (c<50) {
[Link](" Number is greater than Fifty");
}
}
[Link](" Not Valid");
}
}
public class NestedIfelse {

public static void main(String[] args) {


// 4. Standard Syntax for Nested If Else Statement
// if (Condition) {
// statement(s);
// if (Condition) {
// statement(s);
// }
// else {
// }
// }
// else {
// statement(s);
// }

String un = "SantoshRao";
String pwd = "Santosh143";
if (un == "SantoshRao") {
if (pwd == "Santosh14333" ) {
[Link]("Login Successful");
}
else {
[Link]("You have Entered Wrong Paasword");
}
}
else {
[Link]("You have Entered Wrong Username");
}
}

}
public class IfElseIfStatement {

public static void main(String[] args) {

int marks = 20;

if (marks >=65) {[Link](" Distinction ");}


else if (marks >=60 && marks <65) { [Link](" First Class ");}
else if (marks >=55 && marks <60) { [Link](" Higher Second Class ");}
else if (marks >=50 && marks <55) { [Link](" Second Class ");}
else if (marks >=40 && marks <50) { [Link](" Pass ");}
else { [Link](" Fail ");}
}

}
public class TakingUserInput {

public static void main(String[] args) {

Scanner sc = new Scanner([Link]);


[Link]("Enter First Number = ");
int t = [Link]();
[Link]("Value of T is : " +t);

[Link]("Enter Second Number = ");


int u = [Link]();
[Link]("Value of u is : " +u);

[Link]("Enter Third Number = ");


int v = [Link]();
[Link]("Value of v is : " +v);

double d = t+u+v;
[Link]("Addition of User Input is " +d);
}
}
import [Link];

public class TakingUserInputString {

public static void main(String[] args) {

Scanner sc = new Scanner([Link]);// [Link] is static input stream


[Link]("Enter your name = ");
String Name = [Link]();
[Link]("Your Name is = " + Name);
}

}
public class Forloop {

public static void main(String[] args) {

int i;
//for (Declaration+initialization; Condition; increment/Decrement)

for (i=1; i<10; i++) {


[Link](i);
}

for (int k=10; k>0; k--) {


[Link](k);
}

}
14/1/21
public class NestedForLoop {

public static void main(String[] args) {

for (int i=1; i<=3; i++) { //1 (2), 1 (2), 1 (2), 2 (3),
for (int j =1; j<=3; j++) { //1 (2), 2 (3), 3 ,1 (2)

[Link](i+" "+j);
}
}
}
}
Input -
public class StarPattern {

public static void main(String[] args) {


for (int i=1; i<=5; i++) {
for (int j=1; j<=i; j++) {
[Link]("* ");
}
[Link](); // new line
}
}
}

output -

*
**
***
****
*****
Input -

public void pyramiddown() {


int t = 5;

for (int i=1; i<=t; i++) {


for (int j=t; j>=i; j--) {
[Link]("* ");
}
[Link](); // new line
}

output -

*****
****
***
**
*
15/1/21
public class ReverseNumber {

public static void main(String[] args) {


//int n = 687;
for (int i =687; i<=786; i++) {
if (i==786) {
[Link](i);
}
}
ReverseNumber r = new ReverseNumber();
[Link]();
}
public void reverseanyno() {
int m = 521;
int s = 0;
int t;
while (m>0) {
t = m%10;// 1, 2, 5
s = s*10 +t; //1, (1*10+ 2 = 12), ( 12*10 + 5= 125)
m = m/10;//52, 5, 0
}

[Link](s);
}

}
public class WhileLoop {

public static void main(String[] args) {


int u = 1;

while (u<=10) {
[Link](u);
u++;
}
chilama();
}
public static void chilama() {

int i = 10;
while (i>0) {
[Link](i);
i--;
}
}
public static void chilakama() {

int k = 1;

do {
[Link](k);
k++;
} while (k<=9);

}
}
16/1/21
public class PrimeNumber {

public static void main(String[] args) {


int n = 234;
int c = 0;

for (int i =2; i<n; i++) { //

if (n%i ==0) { // 0
c++;
break;
}
}
if (c ==0) {
[Link](" Number is Prime");
}
else {
[Link](" Number is not Prime");
}
}
}
20/1/21
public class CastingCoversion {
// Converting one type of information into another type of information is known as
casting
// 1. Primitive Casting - Converting one data type information into another datatype
information
// Boolean - 1 bit, byte - 1 byte, char - 2 byte, int - 4 byte, short - 2 byte, Long - 8 byte
// float - 4 byte, double - 8 byte

// i) Implicit Casting - Converting lower data type information into higher


data type information
// byte - 1 byte
// short - 2 byte
// int - 4 byte
// float - 4 byte
// Long - 8 byte
// double - 8 byte
public static void main(String[] args) {

byte b = 20; // -128 to +127 (1 byte) Lower Data Type

short s = b;

[Link](s); // Implicit Casting

int f = 400; // (4byte)


long h = f;
[Link](h);// Implicit Casting

}
public class SeleniumFirst {

// 1. Step = Write Main Method always


// 2. Step = Decide Browser on which your application is going to tested
// 3. Step = Configure That Browser File with Webdriver
// 4. Step = Set the properties of the Browser File
// 5. Create Object
public static void main(String[] args) {
[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver d = new ChromeDriver();
[Link]("Put Any Applicatio/Software URL");
}
}
2/1/21
public class NavigateMethods {

public static void main(String[] args) throws InterruptedException {

String Testingurl = "[Link]


String Testingurl2 = "[Link]
[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver d = new ChromeDriver();
[Link]().window().maximize();
[Link]().to(Testingurl);
[Link](5000);
[Link]().to(Testingurl2);
[Link](5000);
[Link]().refresh();
[Link]().back();
[Link]().forward();
[Link](5000);
[Link]();
}
}
public static void main(String[] args) {

String OrignalTitile = "Sign up for Facebook | Facebook";


String Expectedurl = "[Link]
[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver d = new ChromeDriver();
[Link]().window().maximize();
[Link](Expectedurl);

// Get Title Method


String title = [Link]();
if ([Link](OrignalTitile)) {
[Link]("Pass");
}
// Get URL Method

String url = [Link]();


if ([Link](Expectedurl)) {
[Link]("Pass");
}
[Link]();
}
}
4/2/21
public class LocatorsRegular {

public static void main(String[] args) throws InterruptedException {


LocatorsRegular y = new LocatorsRegular();
[Link]();

public void tryy() throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]("[Link]
[Link](4000);
// Types of Locator
// 1. Tagname
WebElement un = [Link]([Link]("input")); // Username
[Link]("Nagnath Saheb");

// 2. ID
[Link]([Link]("A987ASD")).sendKeys("Dhiraj Saheb");

// 2. Name
[Link]([Link]("male")).click();
}
}
6/2/21
public class LocatorsRegular {

public static void main(String[] args) throws InterruptedException {


LocatorsRegular y = new LocatorsRegular();
[Link]();

public void tryy() throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]("[Link]
[Link](4000);
// Types of Locator
// 1. Tagname
WebElement un = [Link]([Link]("input")); // Username
[Link]("Nagnath Saheb");

// 2. ID
[Link]([Link]("A987ASD")).sendKeys("Dhiraj Saheb");

// 3. Name
[Link]([Link]("male")).click();

// 4. Class
[Link]([Link]("checkboxx")).click();
[Link](2000);
// [Link]
//[Link]([Link]("Forgotton Password")).click();

// [Link] LinkText
[Link]([Link]("on Password")).click();

}
}
import [Link];
import [Link];
import [Link];

public class LocatorXpath {

public static void main(String[] args) throws InterruptedException {

[Link]("[Link]", "V:\\Official Velocity\\Setups\\


ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]("[Link]
[Link](4000);
// 1. Absolute Xpath
//<iframe src='[Link] id='KJ908'
name='IFrame1'></iframe></br>

//[Link]([Link]("html/body/div/input")).sendKeys("Baba
Blakship");

//[Link]([Link]("html/body/div/input[2]")).sendKeys("Baba
Blakship");

//[Link]([Link]("(html/body/div/a)[2]")).click();

// 2. Relative Xpath

// 1. Normal/Regular Relative Xpath -->Std Syntax = // Tagname


[Link]([Link]("//input")).sendKeys("James Bond 007");

// 2. Relative Xpath by index -->Std Syntax = // Tagname

[Link]([Link]("(//input)[3]")).sendKeys("james@[Link]");

[Link]([Link]("(//input)[6]")).click();

// 3. Relative Xpath by Attribute


// Std Syntax = //Tagname[@AttributeName = 'AttributeValue']

//[Link]([Link]("//input[@type ='button']")).click();

// 3. Relative Xpath by text (Link)


// Std Syntax = //Tagname[text()='textvalue']
//[Link]([Link]("//a[text()='Forgotton Password']")).click();

// 4. Relative Xpath by Contains using Attribute


// Std. Syntax = //Tagname[contains(@AttributeName,'AttributValue')]
[Link]([Link]("//input[contains(@name,'Female')]")).click();

// 5. Relative Xpath by Contains using text


// Std. Syntax = //Tagname[contains(text(),'TextValue')]
[Link]([Link]("//a[contains(text(),'Forgotton Password')]")).click();

}
import [Link];
import [Link];
import [Link];

public class LocatorLiveFB {


public static void main(String[] args) throws InterruptedException {
[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]("[Link]
[Link](4000);

// Username

[Link]([Link]("//input[@id='email']")).sendKeys("koratkarshubham0@[Link]")
;
[Link](2000);
[Link]([Link]("//input[@aria-
label='Password']")).sendKeys("baban@95");
[Link](2000);
[Link]([Link]("loginbutton")).click();

}
7/2/21
package webDriverMethods;

import [Link];
import [Link];
import [Link];
import [Link];

public class WindowSizeAndPoisition {

public static void main(String[] args) throws InterruptedException {

[Link]("[Link]", "V:\\Official Velocity\\Setups\\


ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
gclid=Cj0KCQiAmfmABhCHARIsACwPRAC3ycpG_ZAHgwjmHyRaB0Znk3ZCg5LvQi-
U618KaIVjZ6h4V0RYeDMaAguaEALw_wcB");
[Link](4000);

// Dimension Class

Dimension d = new Dimension(800, 900);


[Link]().window().setSize(d);
[Link](2000);
//Point Class

Point p = new Point(150, 150);


[Link]().window().setPosition(p);

}
import [Link];

import [Link];
import [Link];

public class WindowHandle {

public static void main(String[] args) throws InterruptedException {

[Link]("[Link]", "V:\\Official Velocity\\Setups\\


ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

String windoID = [Link]();

// Set<String> windoIDs = [Link]();


// [Link](windoIDs);

[Link]().window(windoID);

}
package webDriverMethods;

import [Link];

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
public class DropDownHandle {

public static void main(String[] args) throws InterruptedException {

[Link]("[Link]", "V:\\Official Velocity\\Setups\\


ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

// 1. Finding out drop down webelement


WebElement day = [Link]([Link]("//select[@id='day']"));

Select s1 = new Select(day);


[Link](0);
[Link](3000);

// 2. Finding out drop down webelement


WebElement month = [Link]([Link]("//select[@id='month']"));
Select y = new Select(month);
[Link]("Apr");
[Link](3000);

// 2. Finding out drop down webelement


WebElement year = [Link]([Link]("//select[@id='year']"));
Select z = new Select(year);
[Link]("1995");
[Link](3000);

List<WebElement> options = [Link]();


int size = [Link]();
[Link](size);

for (int i=0; i<size; i++) {


String ele = [Link](i).getText();
[Link](ele);
}
}
}
9/2/21
public class IframeHandleLive {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

[Link]().frame("a077aa5e");

[Link]([Link]("//img[@src='[Link]']")).click();

[Link]().defaultContent();
[Link]([Link]("//input[@id='philadelphia-field-
email']")).sendKeys("abcd");
}

}
import [Link];
import [Link];
import [Link];

public class IframeHandle {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

[Link]().frame("KJ908");
[Link]([Link]("//input[@id='Aqw123']")).sendKeys("Bhai Bhai");
[Link](2000);

[Link]([Link]("//input[@id='Xyz456']")).sendKeys("Bhai@[Link]");

[Link]().defaultContent();
[Link]([Link]("//input[@type='checkbox']")).click();

[Link]([Link]("sign")).click();

//[Link]().parentFrame();
}
}
import [Link];

import [Link];
import [Link];

public class WindowHandle {


public static void main(String[] args) throws InterruptedException {

[Link]("[Link]", "V:\\Official Velocity\\Setups\\


ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

String windoID = [Link]();

// Set<String> windoIDs = [Link]();


// [Link](windoIDs);

[Link]().window(windoID);
}
}
10/2/21
import [Link];
import [Link];
import [Link];

public class IframeHandle {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

[Link]().frame("KJ908");
[Link]([Link]("//input[@id='Aqw123']")).sendKeys("Bhai Bhai");
[Link](2000);

[Link]([Link]("//input[@id='Xyz456']")).sendKeys("Bhai@[Link]");

[Link]().defaultContent();
[Link]([Link]("//input[@type='checkbox']")).click();

[Link]([Link]("sign")).click();

//[Link]().parentFrame();
}
}
10/2/21
package webDriverMethods;

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];

public class IframeHandleLive {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

JavascriptExecutor j = ((JavascriptExecutor)driver);
[Link](4000);
[Link]("scroll(0,2400)");
[Link](4000);
WebElement course = [Link]([Link]("//select[@id='awf_field-
91977689']"));

Select s = new Select(course);


[Link]("SAP HR");
[Link](4000);
[Link]("scroll(0,-2400)");
[Link](4000);
[Link]([Link]("//img[@alt='Guru99 Demo Sites']")).click();

// [Link]().frame("a077aa5e");
//
[Link]([Link]("//img[@src='[Link]']")).click();
// [Link]().defaultContent();
// [Link]([Link]("//input[@id='philadelphia-field-
email']")).sendKeys("abcd");

}
package webDriverMethods;

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];

public class ActionDragDrop {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);
[Link]().frame(0);
WebElement ele1 = [Link]([Link]("//div[@id='draggable']"));
WebElement ele2 = [Link]([Link]("//div[@id='droppable']"));

Actions ac = new Actions(driver);


[Link](3000);
//[Link](ele1).moveToElement(ele2).release().build().perform();
[Link](ele1, ele2).perform();
}

}
11/2/21
import [Link];

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];

public class ActionMouseOver {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link]");
[Link](4000);

WebElement element =
[Link]([Link]("//button[@class='dropbtn']"));
Actions s = new Actions(driver);
[Link](2000);
[Link](element).perform();

List<WebElement> option =
[Link]([Link]("//div[@class='dropdown-content']//a"));
int r = [Link]();
[Link](r);

for(int i=1; i<r; i++) {


WebElement f = [Link](i);
String link = [Link]("innerHTML");
[Link](link);
if([Link]("testng")) {
[Link]();
break;
}
}
}
}
12/2/21
import [Link];
import [Link];

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];

public class TakeScreenshot {

public static void main(String[] args) throws InterruptedException, IOException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link](4000);

File source = ((TakesScreenshot)driver).getScreenshotAs([Link]);


String path = "V:\\Selenium\\[Link]";
File destination= new File(path);
[Link](source, destination);
[Link](3000);
[Link]();
}
}
13/2/21
package Array1;

public class sample1 {


public static void main(String[] args) {

String ar[] = new String[5];


ar[0] = "ganesh";
ar[1] = "ramesh";
ar[2] = "mahesh";
ar[3] = "rahul";
ar[4] = "sanjay";
// ar[5]="xyz";

[Link](ar[2]); // mahesh
[Link]("---print all info in array-----");

for (int i = 0; i <= 4; i++)


{
[Link](ar[i]);
}

}
}
package Array1;

public class Sample3 {


public static void main(String[] args) {

String ar[] = new String[5];


ar[0] = "ganesh";
ar[1] = "ramesh";
ar[2] = "mahesh";
ar[3] = "rahul";
ar[4] = "sanjay";

[Link]([Link]); // 5

for (int i = 0; i <= [Link] - 1; i++) {


[Link](ar[i]);
}

}
}
package Array1;

public class Sample4 {


public static void main(String[] args) {

int ar []=new int[5];


ar[0]=20;
ar[1]=30;
ar[2]=40;
ar[3]=50;
ar[4]=10;

for(int i=0; i<=[Link]-1; i++) {


[Link](ar[i]);
}

}
}
package Array1;

import [Link];

public class Sample5 {


public static void main(String[] args) {

int ar[] = new int[5];


ar[0] = 20;
ar[1] = 30;
ar[2] = 40;
ar[3] = 50;
ar[4] = 10;

[Link]("--before sorting--");
for (int i = 0; i <= [Link] - 1; i++) {
[Link](ar[i]);
}

[Link](ar);
[Link]("--after sorting--");
for (int i = 0; i <= [Link] - 1; i++)
{
[Link](ar[i]);
}

[Link]("--print array in descending order--");

for(int i=[Link]-1; i>=0; i--) {


[Link](ar[i]);
}

}
}
package Array1;
public class Sample6 {
public static void main(String[] args) {

int ar []= {10,50,30,40,20};


String ar1 []= {"mahesh", "ramesh","ganesh"};

[Link](ar[1]);
for(int i=0; i<=[Link]-1; i++) {
[Link](ar[i]);
}

// int a; //declaration
// a=10; // initialization
// [Link](a); // usage
//
// int ar []=new int [5]; // array declaration
// ar[0] = 20;
// ar[1] = 30;
// ar[2] = 40;
// ar[3] = 50;
// ar[4] = 10; // line no 10-14 array initialization
//
// [Link](ar[1]); // usage
}
}
package Array1;

public class sample7 {


public static void main(String[] args) {

int ar[] = new int[5];


ar[0] = 20;
ar[1] = 30;
ar[2] = 40;
ar[3] = 50;
ar[4] = 10;

for (int i = 4; i >= 0; i--) {


[Link](ar[i]);
}

}
}
14/2/21
package Array1;
public class Sample8 {
// 0 1
//0 10 20
//1 30 40

public static void main(String[] args) {

int ar [][]=new int[2][2];


ar[0][0]=10;
ar[0][1]=20;
ar[1][0]=30;
ar[1][1]=40;
[Link](ar[1][1]);
//2<=1
for(int i=0; i<=1; i++)
{ //2<=1
for(int j=0; j<=1; j++)
{ // 1 1
[Link](ar[i][j]+" ");
}
[Link]();
}

}
}
package Array1;
public class Sample9 {
// 0 1 2
//0 10 20 25
//1 30 40 45

public static void main(String[] args) {

int ar [][]=new int[2][3];


ar[0][0]=10;
ar[0][1]=20;
ar[0][2]=25;
ar[1][0]=30;
ar[1][1]=40;
ar[1][2]=45;

for(int i=0; i<=1; i++) {


for(int j=0; j<=2; j++) {
[Link](ar[i][j]+ " ");
}
[Link]();
}

}
}
package Array1;

public class Sample10 {


public static void main(String[] args) {

int ar [][]= {{10,20, 25, 25},{30,40,45,0},{50,60,70,80}};

for(int i=0; i<=2; i++) {


for(int j=0; j<=3; j++) {
[Link](ar[i][j]+ " ");
}
[Link]();
}

}
}
17/2/21
import [Link];
import [Link];

import [Link];
import [Link];
import [Link];
import [Link];

public class ImplicitWaitisDisplayed {

public static void main(String[] args) {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link]().timeouts().implicitlyWait(5, [Link]);

// implicitlyWait via timeout = only Waiting Time

WebElement t = [Link]([Link]("//i[@class='fb_logo img


sp_BzuR4USbpcV sx_6be88a']"));
boolean result = [Link]();

if(result=true) {
[Link]("Fb logo is displayed");
[Link]();
}else {
[Link]("Fb logo is not displayed");
}
}}
import [Link];

import [Link];
import [Link];
import [Link];
import [Link];

public class ImplicitWaitisEnabled {

public static void main(String[] args) {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]().timeouts().implicitlyWait(5, [Link]);
[Link]("[Link]

WebElement ac = [Link]([Link]("//input[@name='firstname']"));
boolean p = [Link]();
if(p=true) {
[Link]("Text box is enable and you can enter value");
[Link]("RJ Raghav");
}
}}
import [Link];

import [Link];
import [Link];
import [Link];
import [Link];

public class ImplicitWaitisSelected {


public static void main(String[] args) {
[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]().timeouts().implicitlyWait(5, [Link]);
[Link]("[Link]

[Link]([Link]("//span[@data-reactid ='65']")).click();

WebElement k = [Link]([Link]("//input[@value='postpaid']"));

boolean result = [Link]();


[Link](result);
if(result==true) {
[Link]("button is selected");
}else {
[Link]("button is not selected");
}
}}
20/2/21
import [Link];
import [Link];
import [Link];

import [Link];
import [Link];
import [Link];

public class ParametrizeCode {

public static void main(String[] args) throws EncryptedDocumentException, IOException {

String path = "V:\\Official Velocity\\Documents\\Nov2020 Batch Docs\\


[Link]";

FileInputStream file = new FileInputStream(path);


// Get String Cell Value
// String q =
[Link](file).getSheet("Bank").getRow(0).getCell(0).getStringCellValue();
// [Link](q);

//Get Numeric Cell Value


// double r =
[Link](file).getSheet("Bank").getRow(0).getCell(0).getNumericCellValue();
// [Link](r);
//Get Cell Type Value
CellType s =
[Link](file).getSheet("Bank").getRow(0).getCell(0).getCellType();
[Link](s);
int t = [Link](file).getSheet("Bank").getLastRowNum();
[Link](t);
}
}
21/2/21
public class StringClassMethods {

public static void main(String[] args) {

String s1 = "Java Developers";

String s2 = "velocity";
String s3 = "VELOCITY";
String s4 = "Velocity";
String s5 = "java";
String s6 = new String("velocity God");

[Link]([Link]());
[Link]([Link]());
[Link]([Link]());
[Link]([Link]());
[Link]([Link](s5));
[Link]([Link]("vel"));
[Link]([Link]("ITY"));
[Link]([Link](" is responsible class"));
[Link]([Link](s2));
[Link]([Link](9));
[Link]([Link]("a"));
[Link]([Link]("a"));
[Link]([Link](4));
[Link]([Link](5,11));
[Link]([Link](s3));
[Link]([Link](s4));
[Link]([Link](s3));
[Link]([Link](s4));
[Link](s2==s3);//False
[Link](s2==s6);//True
[Link]([Link]("Java", "Python"));
//[Link]([Link](s4));
//[Link]([Link](s2, 0));
[Link]([Link]());
}
}
22/2/21
import [Link];
import [Link];
import [Link];

public class ActitimeLoginPage {

// 1. Declaration
private WebElement un;
private WebElement pwd;
private WebElement login;
WebDriver driver;
// 2. Initialization
public ActitimeLoginPage(WebDriver driver) {
[Link]=driver;
un = [Link]([Link]("//input[@id='username']"));
pwd = [Link]([Link]("//input[@name='pwd']"));
login = [Link]([Link]("//a[@id='loginButton']"));
}

//3. Usage

public void setActitimeUsername() {


[Link]("admin");
}
public void setActitimePassword() {
[Link]("manager");
}
public void verifyActitimeLoginbutton() {
[Link]();
}
}
package POMClasses;

import [Link];
import [Link];
import [Link];

public class ActitimeHomePage {


// 1. Declaration
private WebElement header;
private WebElement logout;
WebDriver driver;

// 2. Initialization
public ActitimeHomePage(WebDriver driver) {
[Link]=driver;
header = [Link]([Link]("//img[@height='61']"));
logout = [Link]([Link]("//a[@class='logout']"));
}

//3. usage
public void verifyActtitimeHomeHeader() {
boolean result = [Link]();
if (result == true) {
[Link]("Test Passed");
}
else {
[Link]("Test Failed");
}
}

public void setactitimeHomePageLogout() {


[Link]();
}
}
package POMTest;

import [Link];

import [Link];
import [Link];

import [Link];
import [Link];

public class ActitimeTestClass {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link]().timeouts().implicitlyWait(5, [Link]);

// OBJECT Creation of 1st POM class

ActitimeLoginPage h = new ActitimeLoginPage(driver);


[Link]();
[Link]();
[Link]();

[Link](3000);

// OBJECT Creation of 2nd POM class

ActitimeHomePage g = new ActitimeHomePage(driver);


[Link]();
[Link]();

[Link](2000);
[Link]();

}}
23/2/21
import [Link];
import [Link];
import [Link];
import [Link];

public class ActimeLoginPagePF {


@FindBy(xpath = "//input[@id='username']")
private WebElement un;
@FindBy(xpath = "//input[@name='pwd']")
private WebElement pwd;
@FindBy(xpath = "//a[@id='loginButton']")
private WebElement login;
WebDriver driver;

public ActimeLoginPagePF(WebDriver driver) {


[Link](driver, this);
}
//3. Usage
public void setActitimeUsernamePF() {
[Link]("admin");
}
public void setActitimePasswordPF() {
[Link]("manager");
}
public void verifyActitimeLoginbuttonPF() {
[Link]();
}
}
package PageFactoryActiTimeMain;

import [Link];
import [Link];
import [Link];
import [Link];

public class ActimeHomePagePF {

@FindBy(xpath = "//img[@height='61']")
private WebElement header;

@FindBy(xpath = "//a[@class='logout']")
private WebElement logout;
WebDriver driver;

public ActimeHomePagePF(WebDriver driver) {


[Link](driver, this);
}

//3. usage
public void verifyActtitimeHomeHeaderPF() {
boolean result = [Link]();
if (result == true) {
[Link]("Test Passed");
}
else {
[Link]("Test Failed");
}
}

public void setactitimeHomePageLogoutPF() {


[Link]();
}

}
package PageFactoryActiTimeTest;

import [Link];

import [Link];
import [Link];

import [Link];
import [Link];

public class ActimeTestPF {

public static void main(String[] args) throws InterruptedException {


[Link]("[Link]", "V:\\Official Velocity\\Setups\\
ChromeDriver exe file\\30_01_2021_ChromeDriverFile\\chromedriver_win32 (7)\\
[Link]");
WebDriver driver = new ChromeDriver();
[Link]().window().maximize();
[Link]().deleteAllCookies();
[Link]("[Link]
[Link]().timeouts().implicitlyWait(5, [Link]);

// OBJECT Creation of 1st POM class


ActimeLoginPagePF b = new ActimeLoginPagePF(driver);
[Link]();
[Link]();
[Link]();

[Link](3000);
ActimeHomePagePF v = new ActimeHomePagePF(driver);
[Link]();
[Link]();

[Link](3000);
[Link]();
}
}
26/2/21
package TestNGAnnotationsAndKeywords;

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];

public class TestNGAnnotations {

@BeforeSuite
public void beforesuite1() {
[Link]("Before Suite1 is running");
}
@BeforeTest
public void beforeTest1() {
[Link]("Before Test1 is running");
}
@BeforeClass
public void beforeClass1() {
[Link]("Before Class1 is running");
}
@BeforeMethod
public void beforeMethod1() {
[Link]("Before Method1 is running");
}
@Test
public void Test1() {
[Link]("Test1 is running");
}
@Test
public void Test2() {
[Link]("Test2 is running");
}
@Test
public void Test3() {
[Link]("Test3 is running");
}
@Test
public void Test4() {
[Link]("Test4 is running");
}
@AfterMethod
public void AfterMethod1() {
[Link]("After Method1 is running");
}
@AfterClass
public void AfterClass1() {
[Link]("After Class1 is running");
}
@AfterTest
public void AfterTest1() {
[Link]("After Test1 is running");
}
@AfterSuite
public void AfterSuite1() {
[Link]("After Suite1 is running");
}

// TestNG Sequence when we have only one scenario i.e. @test = 1 Test Scenario
// 1. BeforeSuite
// 2. BeforeTest
// 3. BeforeClass
// 4. BeforeMethod
// 5. Test
// 6. AfterMethod
// 7. AfterClass
// 8. AfterTest
// 9. AfterSuite

// TestNG Sequence when we have only two scenario i.e. 2 Test Scenario
// 1. BeforeSuite
// 2. BeforeTest
// 3. BeforeClass
// 4. BeforeMethod
// 5. Test
// 5. AfterMethod
// 4. BeforeMethod
// 5. Test
// 6. AfterMethod
// 7. AfterClass
// 8. AfterTest
// 9. AfterSuite

// TestNG Sequence when we have only three scenario i.e. 3 Test Scenario
// 1. BeforeSuite
// 2. BeforeTest
// 3. BeforeClass
// 4. BeforeMethod
// 5. Test
// 5. Test
// 5. Test
// 6. AfterMethod
// 7. AfterClass
// 8. AfterTest
// 9. AfterSuite

}
07/03
package Collection;

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];

public class example_Vector {


public static void main(String[] args) {

Vector V=new Vector();


[Link]([Link]());

[Link]("abc");
[Link](100);
[Link]('A');
[Link](79.5f);
[Link]("abc");
[Link](100);
[Link](null);
[Link](null);

[Link]([Link]());

[Link](V); // []
[Link]([Link]()); //8

[Link]([Link]());// false
[Link]([Link](100)); // true
[Link]([Link](1)); // 100
[Link]([Link](6));

[Link]([Link]('A')); //2
[Link]([Link](100));
[Link]([Link](100)); // 5

//add/insert info in between vector--right shift operation


[Link](V);
[Link](2,'B');
[Link](V);

//remove/delete info in between vector--left shift operation


[Link](2);
[Link](V);

//update/modify
[Link](3, 85.2f);
[Link](V);

[Link]("----print vector info using iterator cursor--------");

Iterator itr = [Link]();


while([Link]()) {
[Link]([Link]());
}

[Link]("----print vector info using listiterator cursor--------");

ListIterator litr = [Link]();

while ([Link]()) {
[Link]([Link]());
}

[Link]("----print vector info using for loop--------");

for(int i=0; i<=[Link]()-1; i++) {


[Link]([Link](i));
}

[Link]("----print vector info using foreach loop--------");

for(Object str:V) {
[Link](str);
}

[Link]("----print vector info using enumeration cursor--------");

Enumeration enu = [Link]();

while([Link]()) {
[Link]([Link]());
}

}
}
package Collection;

import [Link];
import [Link];
import [Link];
import [Link];

public class example_Linkedlist {


public static void main(String[] args) {

LinkedList ll = new LinkedList();


[Link]([Link]());

[Link]("abc");
[Link](100);
[Link]('A');
[Link](79.5f);
[Link]("abc");
[Link](100);
[Link](null);
[Link](null);

[Link](ll); // []
[Link]([Link]()); // 4

[Link]([Link]());// false
[Link]([Link](100)); // true
[Link]([Link](1)); // 100
[Link]([Link](6));

[Link]([Link]('A')); // 2
[Link]([Link](100));
[Link]([Link](100)); // 5

// add/insert info in between linkedlist


[Link](ll);
[Link](2, 'B');
[Link](ll);

// remove/delete info in between arraylist


[Link](2);
[Link](ll);

// update/modify
[Link](3, 85.2f);
[Link](ll);

[Link]("----print arraylist info using iterator cursor--------");

Iterator itr = [Link]();

while ([Link]()) {
[Link]([Link]());
}

[Link]("----print arraylist info using listiterator cursor--------");

ListIterator litr = [Link]();

while ([Link]()) {
[Link]([Link]());
}

[Link]("----print arraylist info using for loop--------");


for (int i = 0; i <= [Link]() - 1; i++) {
[Link]([Link](i));
}

[Link]("----print arraylist info using foreach loop--------");

for (Object str : ll) {


[Link](str);
}

ArrayList al=new ArrayList(ll);


[Link]("size of Arraylist: "+[Link]());

[Link]();
[Link]([Link]());
[Link]([Link]());

}
}
package Collection;

public class sample1


{

public static int[] getdata()


{
int ar[]= {10,20,30,50,60,70,80};
return ar;
}

}
package Collection;

import [Link];

public class sample2


{
public static void main(String[] args) {

ArrayList al=new ArrayList();

int[] ar1 = [Link]();

for(int i=0; i<=[Link]-1; i++) {


[Link](ar1[i]);
}

[Link]([Link]());
[Link](al);

}
}
package Collection;

import [Link];

public class sample3 {


public static void main(String[] args) {

int ar[]= {10,20,30,50,60};

ArrayList al=new ArrayList();

for(int i=0; i<=[Link]-1; i++) {


int num = ar[i];
[Link](num);
}

[Link]([Link]());

}
}

You might also like