M
Mike Deliberto
I have a question about oop in java. Here it is.Is it possible to give
an abstract class inside an interface to an implemter class. This may
help:
public interface Top {
void method1();
void method2();
public abstract class PassMe { };
}
public Bottom implements Top {
void method1() {
do stuff;
}
void method2() {
do more stuff;
}
public class PassMe {
int num;
byte tht;
void SomeOtherMethod() {
do even more stuff
}
}
PassMe hopefullySomeoneWillBeAbleToHelpMe = new PassMe();
}
If you need any clairifcation please e-mail me @
(e-mail address removed)
Thanks in advance.
an abstract class inside an interface to an implemter class. This may
help:
public interface Top {
void method1();
void method2();
public abstract class PassMe { };
}
public Bottom implements Top {
void method1() {
do stuff;
}
void method2() {
do more stuff;
}
public class PassMe {
int num;
byte tht;
void SomeOtherMethod() {
do even more stuff
}
}
PassMe hopefullySomeoneWillBeAbleToHelpMe = new PassMe();
}
If you need any clairifcation please e-mail me @
(e-mail address removed)
Thanks in advance.