Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


What is class member or member of class
Question Posted on 22 Aug 2011

Home >> OOPS >> CLASS >> What is class member or member of class




The properties ,events, variables and methods define in class are called members of class.There are lots of types members in the class.
(1)Private Member of class:-This member of a class have strict access control Only the member function of same class can access this members.
(2)Protected Member of Class: This of member class is accessible to member of its own calls and to any of the class member in a derived class.
(3)Public Member Of Class: This member of class can be accessible from any where in class and out of class.
(4)Public and Private Static Member Of a Class: The type of member of a class can be access without creating a object of class. While to access other member of class you have to create a object of class. The public static member can be accessed using access specifier while private static member can be accessed only the member functions.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
difference between classes and struct
Function or Method Overload Ways with Example
Types of Inheritance OOPS
Can we create a instance of abstract class object
what is constructor and its types with example






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |