Computer Science, asked by sonalikastoori97, 1 year ago

In object oriented programming, an object comprises of properties and behaviors where properties represented as fields of the object and behavior is represented as method. true or false?

Answers

Answered by vaibhavsijaria
6

True , but properties would better referred as state because its sound more appropriate.

Answered by gratefuljarette
1

In object-oriented programming, an object comprises of properties and behaviors where properties represented as fields of the object and behavior is represented as method is a true statement.

Explanation:

  • The type of computer programming which helps us to the use of objects and properties and behaviours in the programming. The properties or data of an object is represented by 'fields‘ while the behaviour of that object is represented as the 'method'.
  • Methods are functions of the class of an object and without the method of the class the object would be considered as a structure merely. The paradigm of this programming is dependent on the methods and data fields.

Learn more about object-oriented programming

What is object oriented programming

https://brainly.in/question/3783924

In object oriented programming, what is another name for the "attributes" of an object?

https://brainly.in/question/3936843

Similar questions