Computer Applications

Function is a set of objects that share the common state and behaviour.

OOP Intro Java

4 Likes

Answer

False

Reason — A function (also called a method) is a block of code that performs a specific task when called. Instead, a class serves as a blueprint that defines the common attributes (state) and methods (behaviour) shared by objects.

Answered By

3 Likes


Related Questions