Tue Jul 03, 2007 11:55 pm
Class Book{
String title;
String publisher;
float price;
setBook(String title){
}
setBook(String title, String publisher){
}
setBook(String title, String publisher,float price){
}
}
Class Tool{
void operate_it(){
// implementation here.
}
}
Class ScrewDriver extends Tool{
void operate_it(){
// implementation here.
}
}
|
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.