Computer Science, asked by deepdemta1700, 9 months ago

Which unique entity contain data and function together in OOP

Answers

Answered by StaceeLichtenstein
3

Class is the correct answer to the given question.  

Explanation:

  • Class is the collection of variable and function in the programming language The class is encapsulating the data as well as function in the object oriented programming structure .
  • Class is describing the behavior of object ,this simply means the class is the template of the object .Following are syntax to declared any class that are mention bellow

class class-name

{

data member,

function();

}

Learn More :

  • brainly.in/question/6927821
Similar questions