php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is the dot operator connect the class object and a member of that class?
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
is the dot operator connect the class object and a member of that class?
Reply
#2
Member access specifier is a C++ Operator that is used to access class member functions via the objects belonging to the same class. For example we have a class, Student......... now we create one of its object like Student astudent; Now you know very well that "astudent" is an object of class "Student" and let suppose there is a member function like "roll no()" of this class, now if "astudent" wants to access "roll no()" , then, the syntax should be like this......... astudent. roll no(); You see "." is the member access specifier which act as an operator used to provide access of member function to the object.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  explain this operator -> which is use as headnode->stnext(null); Vuhelper 0 1,761 01-04-2012, 10:26 PM
Last Post: Vuhelper
  What is the difference between “object = this->object” and “this->object=object”? Vuhelper 0 4,083 01-04-2012, 10:17 PM
Last Post: Vuhelper
  how can identify interface for an object Vuhelper 0 2,077 11-05-2011, 05:29 PM
Last Post: Vuhelper
  what does it mean " this->object=object"? Vuhelper 0 2,109 11-05-2011, 05:21 PM
Last Post: Vuhelper
  C++ Help with Template class program 2011 Vuhelper 0 859 07-23-2011, 05:40 PM
Last Post: Vuhelper
  Overloaded >> operator not reading more than first line from data file in c++ 2011 Vuhelper 0 952 07-23-2011, 05:38 PM
Last Post: Vuhelper
  Consitional Operator in C++ July 2011 Vuhelper 0 880 07-12-2011, 11:02 PM
Last Post: Vuhelper
  must have an argument of class or enumerated type Vuhelper 0 1,504 06-11-2011, 06:46 PM
Last Post: Vuhelper
  C++ access private data members in another class Vuhelper 0 2,000 06-07-2011, 08:26 PM
Last Post: Vuhelper
  arithmetical operator in c++ may 2011 Vuhelper 0 1,770 05-29-2011, 06:18 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support