How To Make Career In QTP
Learn QTP more and more
Tuesday, June 18, 2013
Basic Java Program for Selenium
Concept of Class and Objects
public
class
Audi
extends
Car {
public
void
Color()
{
System.
out
.println(
"color is black"
);
}
public
void
Start()
{
System.
out
.println(
"Audi is start"
);
}
/**
*
@param
args
*/
public
static
void
main(String[] args) {
Audi a=
new
Audi();
a.Color();
a.Start();
a.Stop();
//
TODO
Auto-generated method stub
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment