ahaug6462 ahaug6462
  • 03-10-2019
  • Computers and Technology
contestada

What is an attribute? Give an example of an entity with some attributes.

Respuesta :

muradzaini
muradzaini muradzaini
  • 05-10-2019

Answer:

Definition and example

Explanation:

An attribute defines a property of an object. Not only for an object but also it can be defined for any file or element. In other words we can say that an attribute of an object comprises of a name and a value of an element. Moreover it can be a type or class name of a file. An attribute example in C++ to apply a constraint is:

int g(int i)  

{  

   if (i > 0)// applying constraint/defining attribute  

       return i;  

   else

       return -1;  

 

   // Code  

}

Answer Link

Otras preguntas

At a store , 24 bottles of water and 6 bags of chips costs $23.40. Five bottles of water and two bags of chips cost $6.60. What is the cost of a single bottle o
What is 38/50 as a decimal... and what is 28/50 as a decimal? PLEASE HELP ME !!!! i hate struggling with homework!
the perimeter of a square is 4 times as great as the length of any of its sides. Determine whether the perimeter of the square is proportional to the side lengt
Write an equation for a non-vertical line that contains the point ( 2,-4 )
how does.debate in the senate differ from debate in the house?
What does imagery mean
What is the meaning of Pangaea
Evolution is: A) A change in the composition of a population from one generation to the next.B) A phenomenon that must be inferred from evidence, because it can
how does the carbon cycle work in the desert
what is 20% of $45.00?