answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is an example of a class characteristic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Does java class must have public method?

no you can have a class with no public methods and even with a a private constructor public class Example { //constructor private Example(){ } }


What is storage class Define storage class with the help of example?

the storage class is define as 10th class and 9th class and the examples are 10b and 9a


A method that is automatically called when an instance of a class is created?

The constructor of a class is automatically called when an instance of the class is created (using new in C++). The constructor method has the same name as the class that it is a part of. Constructors have no type and do not return anything. Similarly, the destructor is automatically called when the instance of the class is destroyed. The destructor is the same name as the class and is preceded by a tilde (~) For example: class Example { public: Example() // Constructor { printf("Object created\n"); } ~Example() // Destructor { printf("Object destroyed\n") } }; int main() { Example* x = new Example(); // Creates object, calls constructor delete x; // Calls destructor, deletes object return 0; }


What is non-instantiable class?

A non-instantiable class is the class whose object can be created but cannot be initialized. for example the interfaces and the abstract classes in java.


What is the difference between mutuator and accessor methods?

Mutator: Put something into the class (change something). By convention, has a name that starts with "set", for example, "getName". Accessor: Get something out of the class (find out the class's state). By convention, has a name that starts with "get", for example, "getName". For logical values, "is" is used instead, for example, "isActive".

Related questions

The caste system of India is an example of what key characteristic of a civilization?

social class hierarchy


What Class stratification is most characteristic of?

states


What is the characteristic of class stratification?

Th States


Which is NOT a class characteristic of a suspect's sneaker?

style


Which are NOT a distinguishing characteristic of class as a data type?

Test


Alloys have the characteristic properties of which class of elements?

metals


What does qualitative mean in maths terms?

It is a characteristic that can be used for classification but has no numerical value. For example, the colours of the cars in your street, or the favourite fruit of people in your class are qualitative variables.


What is a human characteristic?

An example of a human characteristic is trustworthy.A human characteristic is something that all humans have.


What is the major characteristic of the class system of stratification?

The major characteristic of the class system of stratification is that individuals can move between different social classes based on factors such as education, occupation, and wealth. This system is more fluid compared to other forms of stratification, allowing for more social mobility.


Is a hawk a homeotherm?

Yes...because it belongs to the class Aves,i.e, to the class of birds and homeothermality is a characteristic feature of the class Aves.


What is an example of a characteristic of a place?

A human characteristic of a place is something human put or build into the area. For example, houses, stores, cars and more.


What is the Brooklyn bridge an example of?

Physical Characteristic