Which of the following is an abstract data type?
int
double
string
class
Which of the following statements are true in C++?
Classes can not have data as public members.
Structures can not have functions as members.
Class members are private by default.
None of these
Data member is also called ?
Attribute
Method
Class
Object
Which of the following two entities (reading from Left to Right) can be connected by the dot operator?
A class member and a class object
A class object and a class
A class and a member of that class
A class object and a member of that class
Member functions, when defined within the class specification
are always inline
are not inline
are inline by default, unless they are too big or too complicated
are not inline by default
Which of the following type of data member can be shared by all instances of its class?
public
inherited
protected
private
Which of the following term is used for a function declared inside a class?
member variable
member function
class function
classic function
Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?
call by value
call by reference
default arguments
call by pointer
How many specifiers are present in access specifiers in class?
1
2
3
4