It should be B(){} , because the default constructor has always the same accessibility as the accessibiliy of the class ( class B has default access ).Class B's default constructor looks like this: public B() {}
A mistake in enthuware.ocajp.i.v8.2.1208
Moderators: Site Manager, fjwalraven
-
- Posts: 7
- Joined: Mon Oct 12, 2015 9:58 am
- Contact:
A mistake in enthuware.ocajp.i.v8.2.1208
-
- Site Admin
- Posts: 10389
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: A mistake in enthuware.ocajp.i.v8.2.1208
You are right. Fixed.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 2 guests