Hello,
How do we assume that TC is a top level class?
Thanks,
Tony,
About Question enthuware.ocpjp.v7.2.1507 :
Moderator: admin
-
- Posts: 28
- Joined: Wed Dec 04, 2013 7:57 pm
- Contact:
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1507 :
Because the code listing makes it clear that it is.
If you like our products and services, please help us by posting your review here.
-
- Posts: 15
- Joined: Wed May 10, 2017 2:49 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1507 :
Hi,
Wanted to know that what could be the reason for making collection classes non final. I know it is to allow extending that class. But are there any specific reason for that?
Regards,
Shamran.
Wanted to know that what could be the reason for making collection classes non final. I know it is to allow extending that class. But are there any specific reason for that?
Regards,
Shamran.
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1507 :
The reason is same as for making any other class non-final. So that one could extend them and customize the functionality if they want to.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 117 guests