You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this exception is thrown by java compiler:
No enclosing instance of type Tree is accessible. Must qualify the allocation with an enclosing instance of type Tree (e.g. x.new A() where x is an instance of Tree).
The text was updated successfully, but these errors were encountered:
Hey, as far as I remember the concepts of OOPs, we are not allowed to use a constructor inside a class. With respect to that, in order to satisfy the OOPs concepts, we need to change our code entirely.
DS-Algo/trees/Tree.java
Line 63 in 0f60cf2
this exception is thrown by java compiler:
No enclosing instance of type Tree is accessible. Must qualify the allocation with an enclosing instance of type Tree (e.g. x.new A() where x is an instance of Tree).
The text was updated successfully, but these errors were encountered: