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

Explain the goal of the Meiji Restoration in terms of who was to hold power. How was this different from Edo Japan?
Happy pride month everyone!!!
Find the volume. Area = 40 cm² cm³ 8 cm
Regarding the media, what does the term gatekeeping mean? deciding what items candidates can debate at election time dictating party platforms at the convention
What is the measure of major B 84° O 276° O252° O 84° O 168 arc AB? A​
The citizens in community wants the City Council to build in their neighborhood because the closest park is a mile away. Decide at which level is responsible fo
What is the least common denominator of 2/6 and 7/8
drag each tutorial feature for its learning purpose​
I can imitate saint Jude by?
make mathematical expression and simplify. The sum of 4 and 5 is subtracted form one-third of the difference of 40 and 4.​