Quantcast
answersLogoWhite
notificationBell

Top Answer
User Avatar
Wiki User
Answered 2010-06-12 04:28:26

A member function is simply a function (or method in Java) that is part of a class.

234
๐Ÿ™๐Ÿฟ
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Still Have Questions?

Related Questions

What is the definition of seekg function in oop?

seekg sets the position of the get pointer in an input stream -- the point at which the next extraction will occur.


What is function in oop?

Same as in other languages, but in OOP they are usually called "methods", at least when they are attached to a class.


What is the difference between object oriented programming and procedure oriented programming?

In POP, importance is given to the sequence of things to be done i.e. algorithms and in OOP, importance is given to the data.In POP, larger programs are divided into functions and in OOP, larger programs are divided into objects.In POP, most functions share global data i.e data move freely around the system from function to function. In OOP mostly the data is private and only functions inside the object can access the data.POP follows a top down approach in problem solving while OOP follows a bottom up approach.In POP, adding of data and function is difficult and in OOP it is easy.In POP, there is no access specifier and in OOP there are public, private and protected specifier.In POP, operator cannot be overloaded and in OOP operator can be overloaded.In POP, Data moves openly around the system from function to function, In OOP objects communicate with each other through member functions.


Can you declare static function as virtual?

No. A virtual function is, by definition, a non-static class member function. A static function may or may not be a member function, but even if declared a class member it can never be declared virtual. Static member functions are scoped to the class whereas virtual member functions are scoped to an object of the class.


How do you be a bin tycoon?

you need to be a member ship but you need to pay that is how you be a bin tycoon[oop]


What is the difference between an instance member and a class member?

That depends on whether you mean a member variable or a member method. A class member variable is the definition of a type within a class. A class member method is the definition of a function within a class. You should know that objects are instances of a class, but each object has its own discrete set of member variables (including those inherited from base classes), each of which is an instance of the member variables defined by the class of the object, including its base classes. Member methods are different insofar as there is only one instance of each method per class, regardless of the number of objects instantiated from that class. Bear in mind that the entire concept of OOP is an abstraction to aid programming, so its easier to think that every object actually has its own discrete set of methods, when in fact they don't. They are really no different to structures and functions that act upon those structures, but the OOP concept ensures we don't call functions upon structures that have no business operating on those structures.


What is the Difference between normal function and member function?

A normal or ordinary function is any function declared outside of any class definition. A member function is a function declared inside a class definition; it is a member of the class in which it is declared and therefore has private access to the class representation. Non-static member functions are scoped to an object of the class and have an implicit this pointer which refers to that object. Static member functions are scoped to the class as a whole and do not require any instances. Non-member functions that require private access may be declared friends of the class; a friend function may be an ordinary function or a member of another class.Non-static member functions have the following three properties:Private access to the class representation.Scoped to the class.Must be invoked against an instance of the class (have a this pointer).Static member functions have the first two properties only while friend functions have the first property only. Functions that are neither members of the class nor friends of the class have none of these properties.


How the member function can be undefined?

You cannot undefine a member function.


What do you mean by member function?

When you declare a class and define a function inside the class, that function is called a member function.


If object 1 call object 2 in oop in which object the excution happen?

Strictly speaking, neither. Although member functions are obviously members of an object, this is merely an abstraction. In reality, there is only one instance of every member function, not one per object. The function knows which instance it was invoked against through the implicit 'this' pointer that is passed to the function through a hidden parameter. Thus execution occurs within the function that was invoked, not within the objects itself.


Difference between a class member and an instance member?

A class member is simply the definition of a member, whether that member is a member variable or a member method. An instance member is the realisation of that definition, just as an object is an instance of a class.


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


How is a member function of a class defined in c plus plus?

class Math{private:double value;//Default constructor with initializerMath(value = 0.0);public://member function within class definitiondouble GetSquared(){return value * value;}...};


Differnece between static data member and static member function?

difference between static data member and static member function


What is a member of a class in java?

whatever we write inside a class i.e variable or function is called member of a class.if the member is a variable it is called member variable and if it is a function then it is called a member function. .................Rajesh kumar Mahato


What is the duration of Boop-Oop-a-Doop?

The duration of Boop-Oop-a-Doop is 540.0 seconds.


How do you ally oop in 2k9?

how to ally oop in nba 2k9



What sound does a hoopoe make?

The hoopoe, a bird which can be found in Afro-Eurasia, makes a sound like "oop-oop-oop."


What bird goes oop oop oop?

The hoopoe makes a sound that goes 'oop oop oop.' In many cultures, the bird has a similar name because of this particular call they are known for. Hoopoes are birds from the Afro-Eurasian region. They have distinctive feather patterns in their wings and crests, as well as flat dark bills.


Why does a function only have one output?

That is the definition of a function.


Why is every function a relation?

That is part of the definition of a function.


Python keyword indicates the start of a function definition?

The word "def", short for definition starts a function.


How working of member function different from friend function and non member function?

friend function is used to access the attributes in private class, where as the normal member function cant access the private data unless it is declared within the same class.


Which bird makes an oop oop oop sound?

The hoopoe makes a sound that goes 'oop oop oop.' In many cultures, the bird has a similar name because of this particular call they are known for. Hoopoes are birds from the Afro-Eurasian region. They have distinctive feather patterns in their wings and crests, as well as flat dark bills.


Still have questions?

Trending Questions
How to Make Money Online? Asked By Wiki User
Best foods for weight loss? Asked By Wiki User
Does Neil Robertson wear a wig? Asked By Wiki User
Previously Viewed
Unanswered Questions
Saan nagmula ang gitara? Asked By Wiki User
Uri ng tekstong nareysyon? Asked By Wiki User
Can you get Takis at 7 eleven? Asked By Wiki User