65.6k views
2 votes
A class is a _____, which encapsulates _____ and _____. (Points : 2) programming language construct; attributes; behavior

field; objects; members
template; methods; behavior
All of the above
None of the above

User Viedee
by
5.4k points

1 Answer

5 votes

Answer:

A class is a programming language template, which encapsulates methodes and behavior.

Step-by-step explanation:

In OOP (object-oriented programming), a class is programming language template to create objects (instance of a class), which encapsulates methodes and implementations of behavior (action which an object is able to perform)

User Ltc
by
5.5k points