public interface InterfaceA {
void method1();
}
public class ClassA implements InterfaceA {
public ClassA() {
//contents of ClassA()
}
public void method1() {
//contents of method1
}
private char c;
private int x;
public int y;
}
public class ClassB implements InterfaceA {
public void method1() {
//contents of method1
}
private ClassC a;
}
public class ClassC {
private int myMethod() {
// contents of myMethod
}
public void cMethod() {
//contents of cMethod
}
public class ClassD extends ClassB {
//contents of ClassD
}
Examine the Java program and draw the associated class diagram including methods and attributes.?
Here is the answer
http://answerboard.cramster.com/Answer-B...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment