What is subjective objective and possessive pronouns?

What is subjective objective and possessive pronouns?

Objective pronouns are used to show ownership. Example: Here is a book. It is mine. (It is a pronoun in the subjective case; mine is a possessive pronoun in the objective case).

How do you identify the pronoun case?

Pronouns have three cases, which is what indicates how that pronoun is related to the words that it is used with. The three cases are: nominative, possessive, and objective. The nominative case is used when the pronoun is the subject of the sentence. The nominative form pronouns are: I, you, he/she, it, we/they.

Which defines what an object can do?

Explanation: In computer science, an object can be a variable, a data structure, a function, or a method, and as such, is a value in memory referenced by an identifier.

What are the main features of OOPs?

Features of OOPs:

  • Classes.
  • Objects.
  • Data Abstraction.
  • Encapsulation.
  • Inheritance.
  • Polymorphism.

What are two features characteristics of object?

Characteristics of Objects

  • An object has identity (each object is a distinct individual).
  • An object has state (it has various properties, which might change).
  • An object has behavior (it can do things and can have things done to it).

How are the characteristics of an object represented in a class?

An object has three characteristics: State: represents the data (value) of an object. Behavior: represents the behavior (functionality) of an object such as deposit, withdraw, etc. Identity: An object identity is typically implemented via a unique ID.

What are the 5 OOP principles?

Following the SOLID acronym, they are:

  • The Single Responsibility Principle.
  • The Open-Closed Principle.
  • The Liskov Substitution Principle.
  • The Interface Segregation Principle.
  • The Dependency Inversion Principle.