About Question com.enthuware.ets.scjp.v6.2.76 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scjp.v6.2.76 :

Post by ETS User »

I'm not sure I agree with the 1st answer, "low coupling", which I assumed to be the same as "loose coupling".

"Using a reference variable of an interface type" to me is very tightly coupled.

Let me know if there is something I am missing.

admin
Site Admin
Posts: 10061
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.76 :

Post by admin »

You did not quote the complete option. It says, "Using a reference variable of an interface type instead of the class implementing that interface."

Using an interface is indeed low coupling as compared to using the class.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 120 guests