Last active
June 5, 2017 08:55
-
-
Save lion137/d4e674e86271bbdca55e78b74338944e to your computer and use it in GitHub Desktop.
return statement problem java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public BigInteger evaluateParseTreeBigInt(BinaryTree tree){ | |
| BinaryTree<T> leftT = tree.left; | |
| BinaryTree<T> righT = tree.right; | |
| boolean p = (leftT != null) && (righT != null); | |
| if (p){ | |
| //cos tam, return jakis bigint | |
| } | |
| else return //jakis biginteger | |
| }//IntelliJ IDEA sie pluje, ze brakuje return statemnt, sugeruje po else, ale to rozwala cala logike | |
| // tej metody, da sie to sprawdzenie jakos zablokowac w javie? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment