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
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
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 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 term is used for a function declared inside a class?
member variable
member function
class function
classic function
Which of the following is an abstract data type?
int
double
string
class
The members of a class, by default, are
public
protected
private
mandatory to specify
How many specifiers are present in access specifiers in class?
1
2
3
4