wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes 'low coupling' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark " Watch " New topic
Author

'low coupling'

Rachel Glenn
Ranch Hand

Joined: Oct 24, 2012
Posts: 95
Consider this statement:

"The reference variable is declared for an interface type, not a class. The interface provides a small number of methods."

Why does the above statement describe a situation with low coupling?
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1167
Low coupling explains the case.

Regards,
Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Rachel Glenn
Ranch Hand

Joined: Oct 24, 2012
Posts: 95
Dan Drillich wrote:Low coupling explains the case.

Regards,
Dan


Thank you. I certainly hope the real exam does not contain questions that are subject to as much interpretation as this one!
 
wood burning stoves
 
subject: 'low coupling'
 
Similar Threads
Difference between low coupling and encapsulation
Why we return type Mostly Interface rather than Class?
Low coupling??
drag and drop question
How to design OO systems...