No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
This code will run but it has some errors in it( I mean,logically wrong.) What is its error? Can you help me figure it out? [CODE]void preOrder(){ myPreOrderTraversal(this); } int myPreOrderTraversal(BinaryTree t){ if (t != null) // {} missing return t.getRoot(); //return should be removed myPreOrderTraversal(this.getLeft()); //replace this with t … | |
Hello everyone. Can we ask about how we could mark the attribute of the entity as PF because the only thing we knew is the PK. Thanks in advance. Your reply will be a great help to us! ^_^ | |
Hi. There is something wrong with the codes of my levelOrder method. Can anybody help me identify the wrong stuff out here? By the way, I also have another problem,what are the uses of setters? I teacher require us to put getters and setters but then I am totally confused … |