Which of the following is a characteristic of a class?

1.2 Which of the following is a characteristic of a class?
A) A class can have only one object
B) A class is a template to create objects
C) A class contains only data
D) A class contains only methods.

Leave a Reply