tm51930 tm51930 19-12-2022 Computers and Technology contestada A method which returns a value is referred to as…