A method that return a value is a value-returning
method. When this method is called, it returns a
value to the caller. A value returning method must
include a return statement of the format
– getOwnerName() method returns a String value of
instance variable ‘ownerName’, so its return type
is declared as String.