Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Nawap13727yWhat JDK should have threw more than one page error!
BTW android studio editor would have pointed it -
johnsonn7027y@Nawap @Voxera
Android studio only complained that the constructor/method did not get called / used. -
Voxera113977y@johnsonn that was really not that helpful as an error message :/
I mean, if it identified it as a constructor and a constructor cannot have a return type it seams it would be quite easy to give a better error :)
Related Rants
Finally after wondering for hours why the constructor of a class does not get called...i notice that constructor don't fucking accept a return value data type (void)...😡😒
rant
java
android studio
constructor