The IDE is showing me an error stating that I should declare a return type!
Error in creating a constructor
Hi nityash
Just write Public or private whatever you want to make your GenericTree().
Hope Your doubt will be Cleared and if you still face any issue please let me know.
Nothing positive… Still the same ERROR.
Please send me your full code via coding blocks ide so that i can find error.
Hi Nityansh
Write your full code of question you want to do as this code is running fine on my system that means your code is right. I am sharing my code with you try to run that on your System once and if you still face any issue Please let me know.
Thank you, It seems there was some error with placing the curly braces.
Thank You Nityash
I am marking this doubt as resolved now Please Give your feedback!!!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.