Computer Science, asked by firettirkey, 9 months ago

name the keyword that defines the characteristics or the data members for the objects of the class

Answers

Answered by Rahul9048
5

Answer:

class Student    

{    

    public:  

    int id;          //field or data member      

    float salary;   //field or data member  

    String name;   //field or data member    

};  

In the above example, the keyword public determines the access attributes of the members of the class that follows it. A public member can be accessed from outside the class anywhere within the scope of the class object. We can also specify the members of a class as private or protected.

Answered by ummexkulsum
7

Answer:

Attribute

Explanation:

This is the right answer

Similar questions