I guess it should be: therefore calling super() from a method is NOT validNote that calling super(); means you are trying to call the super class's constructor. But you can't call the super class's constructor (or its own constructor) from a method, therefore calling super() from a method is valid. super() can only be the first statement of a constructor.
About Question enthuware.ocajp.i.v7.2.1130 :
Moderators: Site Manager, fjwalraven
-
- Posts: 22
- Joined: Sun Nov 18, 2012 1:51 am
- Contact:
About Question enthuware.ocajp.i.v7.2.1130 :
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1130 :
You are right. This has now been fixed.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 4 guests