Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inheritance question

Status
Not open for further replies.

vladibo

Programmer
Sep 14, 2003
161
CA
My question is if I have:
class A{
}
class B{
}
interface IA{
}
interface IX{
}

How can I write that class B extends class A and implements interfaces IA and IX?

class B:A,IA,IX{
}

or

class B:A:IA,IX{
}

or what?

 
Use this syntax:

Code:
class B:A,IA,IX{
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top