Questão de Programação Orientada a Objetos

What is the difference between a function and a method in Java?

A

A function is not associated with a class, while a method is.

B

A function is associated with a class, while a method is not.

C

There is no difference between a function and a method in Java.

D

A function is a variable, while a method is a type of object.

Comentários

U

Ainda não há comentários para esta questão.

Seja o primeiro a comentar!