What do you mean extend has already been used?
|
i want to extend a class, but extend has already been used, how else can i use another class?
importing?
What do you mean extend has already been used?
public class client extends Applet_Sub1
{
Why would you even think of extending two classes? Think about the logic behind that.
(super can't have two classes handled for it)
You can't have two super classes, although you can implement any number of interfaces. I really don't know what your logic behind considering extending more than one class is.
Short Answer.
No, you can't extend more than one class. So implement, not extend.
Edit:
Could of sworn you mentioned extending more than one class in your post. If not, ignore that portion, pay attention to implementing.
import package.class;
as in
import skills.woodcutting;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |