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
Data member is also called ?
Attribute
Method
Class
Object
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
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 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
The members of a class, by default, are
mandatory to specify
Which of the following is an abstract data type?
int
double
string
class
How many specifiers are present in access specifiers in class?
1
2
3
4
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