T
Thomas
As above I have two classes : abstract Stack and class Function, with
Function holding one instance of Stack. Now, when calling constructor for
Function I would also to call it for Stack. The problem is I got :
unresolved symbol error: Stack(). What should I do ? Both files Stack.java
and Function.java are in project.
pseudocode :
abstract Function{
Stack S;
Function(){
S = Stack();
}
}
Function holding one instance of Stack. Now, when calling constructor for
Function I would also to call it for Stack. The problem is I got :
unresolved symbol error: Stack(). What should I do ? Both files Stack.java
and Function.java are in project.
pseudocode :
abstract Function{
Stack S;
Function(){
S = Stack();
}
}