answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How are data member and member function organized in object oriented program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What kinds of things can become objects in object-oriented programming?

member function and data fuction


What meaning by the terms 'member function'and give example?

In object-oriented programming languages, a member function is one which belongs to a class.


What is the difference between function and method in c language?

In object-oriented languages, a class member function is also known as a method. C does not provide native support for the object-oriented paradigm and therefore does not support methods.


Define object in software engineering?

Objects are complex types that have multiple pieces of information and specific properties (or attributes). Objects can be manipulated by the commands of a programming language, such as a value, variable, function, or data structure. They are the foundation of object-oriented programming, and are fundamental data types in object-oriented programming languages.


What is 'this' in c?

There is no 'this' in C. C is not an object-oriented language. C++, however, is object-oriented. The 'this' pointer is used by non-static member functions to determine which instance of a class the function should operate upon.


What is the meaning of x.getdata in c plus?

it mens u r calling de member function of de program


How the member function can be undefined?

You cannot undefine a member function.


How do you write a c plus plus program to find area of a triangle?

If you want to use object oriented approach, create a class with the details of triangles as it's data members and area function as member or friend function. formula: 1. area= height*base/2 2. area= square-root(s*(s-a)*(s-b)*(s-c)) where 2s=a+b+c


What is member fusion in c plus plus?

If you are asking about member functions. When we declare a function inside a class then that function becomes member function of that class and this function can access the whole class


Why friend are used in object oriented programing?

A friend function is a function that cannot be declared a member of a class but which requires private access to that class. For example, a function that operates upon two different classes cannot be a member of both classes, but if the function requires private access to both classes then it has to be a friend to at least one of them.To fully appreciate friend functions, consider that a non-static member function has the following three properties:Has private access to the class.Is scoped to the class.Must be invoked against an object of the class (has a 'this' pointer).Static member functions have the first two properties only while friend functions have the first property only. All other non-member functions have none of these properties.


Who was the first member of the Vandal Patrol Program?

The first member of the Vandal Patrol Program was An8thg, the Vandal Patrol Program Coordinator.


In the ordered pair x y the value of y is a member of the?

x is a member of the function's domain, y is a member of the function's range.