crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

What is class member or member of class
Question Posted on 22 Aug 2011Home >> 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




.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




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






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap