Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

Midterm 2 study guide question 2b

+13 votes
For this question, I'm a bit confused as to what a "public interface refers to...during the study sessions there was some thinking going around that it could be OwnedObject, but others said they thought it was the GetOwner method within the interface.  Does anyone know which answer is more appropriate?
asked Oct 24, 2016 in CSC 285 (F16) by Troy Barger (100 points)

1 Answer

+2 votes
I think the public interface is the getOwner() and getName() methods.  I am saying this based on the assumption that the public interface refers to the public properties of the class.
answered Oct 25, 2016 by Kevin Barbian (100 points)
...