Java Function With Return.